This commit is contained in:
blueloveTH 2023-04-23 12:49:02 +08:00
parent 9d387b7640
commit e836a07c5b

View File

@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-node@v3.1.1 - uses: actions/setup-node@v3.1.1
- name: Retype build - name: Retype build
run: | run: |
cd docs
npm install retypeapp --global npm install retypeapp --global
retype build retype build
################################################### ###################################################
@ -26,11 +27,11 @@ jobs:
- name: Compile - name: Compile
run: | run: |
python3 build.py web python3 build.py web
mv web .retype/static mv web docs/.retype/static
################################################### ###################################################
- uses: crazy-max/ghaction-github-pages@v3 - uses: crazy-max/ghaction-github-pages@v3
with: with:
target_branch: gh-pages target_branch: gh-pages
build_dir: .retype build_dir: docs/.retype
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}