File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 22name : Deploy static content to Pages
33
44on :
5- # Runs on pushes targeting the default branch
65 push :
76 branches : ["webasm"]
8-
9- # Allows you to run this workflow manually from the Actions tab
107 workflow_dispatch :
118
12- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
139permissions :
1410 contents : read
1511 pages : write
@@ -21,13 +17,15 @@ concurrency:
2117 group : " pages"
2218 cancel-in-progress : false
2319
20+ # Single deploy job since we're just deploying
2421jobs :
25- # Single deploy job since we're just deploying
2622 deploy :
2723 environment :
2824 name : github-pages
2925 url : ${{ steps.deployment.outputs.page_url }}
3026 runs-on : ubuntu-latest
27+ # TODO: add a build step to get the wasm file instead of commiting it.
28+ # Doesn't really matter atm since the git history is polluted anyway
3129 steps :
3230 - name : Checkout
3331 uses : actions/checkout@v4
3634 - name : Upload artifact
3735 uses : actions/upload-pages-artifact@v3
3836 with :
39- # Upload entire repository
4037 path : ' ./web'
4138 - name : Deploy to GitHub Pages
4239 id : deployment
You can’t perform that action at this time.
0 commit comments