File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 2
2
name : Deploy static content to Pages
3
3
4
4
on :
5
- # Runs on pushes targeting the default branch
6
5
push :
7
6
branches : ["webasm"]
8
-
9
- # Allows you to run this workflow manually from the Actions tab
10
7
workflow_dispatch :
11
8
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
9
permissions :
14
10
contents : read
15
11
pages : write
@@ -21,13 +17,15 @@ concurrency:
21
17
group : " pages"
22
18
cancel-in-progress : false
23
19
20
+ # Single deploy job since we're just deploying
24
21
jobs :
25
- # Single deploy job since we're just deploying
26
22
deploy :
27
23
environment :
28
24
name : github-pages
29
25
url : ${{ steps.deployment.outputs.page_url }}
30
26
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
31
29
steps :
32
30
- name : Checkout
33
31
uses : actions/checkout@v4
36
34
- name : Upload artifact
37
35
uses : actions/upload-pages-artifact@v3
38
36
with :
39
- # Upload entire repository
40
37
path : ' ./web'
41
38
- name : Deploy to GitHub Pages
42
39
id : deployment
You can’t perform that action at this time.
0 commit comments