File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Deploy Demo to GitHub Pages
33on :
44 # Runs on pushes targeting the default branch
55 push :
6- branches : [' main' ]
6+ branches : [main]
77
88 # Allows you to run this workflow manually from the Actions tab
99 workflow_dispatch :
@@ -17,7 +17,7 @@ permissions:
1717# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1818# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1919concurrency :
20- group : ' pages'
20+ group : pages
2121 cancel-in-progress : false
2222
2323jobs :
6464 - name : Upload artifact
6565 uses : actions/upload-pages-artifact@v3
6666 with :
67- path : ' ./dist-demo'
67+ path : ./dist-demo
6868
6969 # Deployment job
7070 deploy :
Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 version :
7- description : ' Version bump type'
7+ description : Version bump type
88 required : true
99 type : choice
1010 options :
3636 uses : actions/setup-node@v4
3737 with :
3838 node-version : ' 22'
39- cache : ' pnpm'
39+ cache : pnpm
4040 registry-url : ' https://registry.npmjs.org'
4141
4242 - name : Install dependencies
@@ -73,11 +73,11 @@ jobs:
7373 const fs = require('fs');
7474 const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
7575 const version = packageJson.version;
76-
76+
7777 await github.rest.repos.createRelease({
7878 owner: context.repo.owner,
7979 repo: context.repo.repo,
8080 tag_name: `v${version}`,
8181 name: `Release v${version}`,
8282 generate_release_notes: true
83- });
83+ });
You can’t perform that action at this time.
0 commit comments