File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ jobs :
14+ deploy :
15+ runs-on : ubuntu-latest
16+ environment :
17+ name : github-pages
18+ url : ${{ steps.deployment.outputs.page_url }}
19+ steps :
20+ - name : Checkout
21+ run : actions/checkout@v3
22+ - name : Set up Node
23+ uses : actions/setup-node@v3
24+ with :
25+ node-version : 18
26+ cache : ' npm'
27+ - name : Install dependencies
28+ run : npm install
29+ - name : Build
30+ run : npm run build
31+ - name : Setup Pages
32+ uses : actions/configure-pages@v3
33+ - name : Upload artifact
34+ uses : actions/upload-pages-artifact@v1
35+ with :
36+ path : ' ./out'
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments