File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
21name : Deploy static content to Pages
32
43on :
5- # Runs on pushes targeting the default branch
64 push :
75 branches : [ "master" ]
86
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
1612 id-token : write
1713
18- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2014concurrency :
2115 group : " pages"
2216 cancel-in-progress : false
2317
2418jobs :
25- # Single deploy job since we're just deploying
2619 deploy :
2720 environment :
2821 name : github-pages
3427 - name : Setup Pages
3528 uses : actions/configure-pages@v5
3629 - name : Setup Project
37- run : npm install && chmod +x build.sh && ./build.sh
30+ run : |
31+ npm install
32+ npm install -g @typespec/compiler
33+ chmod +x build.sh
34+ ./build.sh
3835 - name : Upload artifact
3936 uses : actions/upload-pages-artifact@v3
4037 with :
You can’t perform that action at this time.
0 commit comments