File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -9,29 +9,25 @@ permissions:
99 pages : write
1010
1111jobs :
12- build :
12+ deploy :
1313 runs-on : ubuntu-22.04
1414 environment :
1515 name : github-pages
16+ url : ${{ steps.deployment.outputs.page_url }}
1617 steps :
1718 - name : Download repository
1819 uses : actions/checkout@v4
20+
1921 - name : Build TypeScript
2022 run : tsc
2123 - name : Run custom build script
2224 run : python3 build.py "${{ secrets.SECRET_STRING }}"
25+
2326 - name : Compress & Upload pages artifact
2427 uses : actions/upload-pages-artifact@v3
2528 with :
2629 path : " ./www" # Website root
2730
28- deploy :
29- runs-on : ubuntu-latest
30- needs : build
31- environment :
32- name : github-pages
33- url : ${{ steps.deployment.outputs.page_url }}
34- steps :
3531 - name : Deploy to GitHub Pages
3632 id : deployment
3733 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments