File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Deploy static content to Pages
44on :
55 # Runs on pushes targeting the default branch
66 push :
7- branches : [' master' ]
7+ branches : [" master" ]
88
99 # Allows you to run this workflow manually from the Actions tab
1010 workflow_dispatch :
@@ -17,7 +17,7 @@ permissions:
1717
1818# Allow one concurrent deployment
1919concurrency :
20- group : ' pages'
20+ group : " pages"
2121 cancel-in-progress : true
2222
2323jobs :
@@ -34,18 +34,18 @@ jobs:
3434 uses : actions/setup-node@v3
3535 with :
3636 node-version : 18
37- cache : ' npm'
37+ cache : " npm"
3838 - name : Install dependencies
3939 run : npm install
4040 - name : Build
4141 run : npm run build
4242 - name : Setup Pages
4343 uses : actions/configure-pages@v3
4444 - name : Upload artifact
45- uses : actions/upload-pages-artifact@v2
45+ uses : actions/upload-pages-artifact@v3
4646 with :
47- # Upload dist repository
48- path : ' ./dist'
47+ # Upload dist directory
48+ path : " ./dist"
4949 - name : Deploy to GitHub Pages
5050 id : deployment
51- uses : actions/deploy-pages@v2
51+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments