Skip to content

Commit

Permalink
更新ol
Browse files Browse the repository at this point in the history
  • Loading branch information
tengyangzh committed Feb 26, 2025
1 parent f3599d1 commit 7b2118a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/generate-ol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,4 @@ jobs:
- name: Generate ol.html with dynamic URL
run: |
# 生成 ol.html, 并替换 URL 为变量值
echo '<meta http-equiv="refresh" content="0; url=${{ vars.YATCC-AI-STU-WEB }}" />' > ol.html
- name: Deploy to GitHub Pages (可选)
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./ # 发布当前目录(包含 ol.html)
echo '<meta http-equiv="refresh" content="0; url=${{ vars.YATCC-AI-STU-WEB }}" />' > ol.html

0 comments on commit 7b2118a

Please sign in to comment.