mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
...
This commit is contained in:
parent
9d387b7640
commit
e836a07c5b
5
.github/workflows/website.yml
vendored
5
.github/workflows/website.yml
vendored
@ -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 }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user