File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,33 +3,34 @@ name: Deploy to GitHub Pages
33on :
44 push :
55 branches : [main]
6+ workflow_dispatch :
67
78permissions :
89 contents : read
910 pages : write
1011 id-token : write
1112
13+ concurrency :
14+ group : " pages"
15+ cancel-in-progress : false
16+
1217jobs :
1318 build :
1419 runs-on : ubuntu-latest
1520 steps :
16- - uses : actions/checkout@v4
17- - uses : actions/setup-node@v4
18- with :
19- node-version : 20
20- cache : npm
21- - run : npm ci
22- - run : npm run build
23- - uses : actions/upload-pages-artifact@v3
24- with :
25- path : dist/
21+ - name : Checkout your repository using git
22+ uses : actions/checkout@v4
23+
24+ - name : Install, build, and upload your site output
25+ uses : withastro/action@v6
2626
2727 deploy :
2828 needs : build
2929 runs-on : ubuntu-latest
3030 environment :
3131 name : github-pages
32- url : ${{ steps.deploy .outputs.page_url }}
32+ url : ${{ steps.deployment .outputs.page_url }}
3333 steps :
34- - id : deploy
35- uses : actions/deploy-pages@v4
34+ - name : Deploy to GitHub Pages
35+ id : deployment
36+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments