File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Deploy Astro to GitHub Pages
2-
32on :
43 push :
54 branches :
65 - main
7-
86 # Allows running manually from the Actions tab
97 workflow_dispatch :
10-
118permissions :
129 contents : read
1310 pages : write
1411 id-token : write
15-
1612jobs :
1713 deploy :
1814 runs-on : ubuntu-latest
19-
2015 steps :
2116 - name : Checkout repository
2217 uses : actions/checkout@v4
23-
2418 - uses : pnpm/action-setup@v4
2519 name : Install pnpm
2620 with :
2721 run_install : false
28-
2922 - name : Install Node.js
3023 uses : actions/setup-node@v4
3124 with :
3225 node-version : 22
3326 cache : ' pnpm'
34-
3527 - name : Install dependencies
36- run : pnpm install
37-
28+ run : pnpm install --no-frozen-lockfile
3829 - name : Build project
3930 run : pnpm build
40-
4131 - name : Setup Pages
4232 uses : actions/configure-pages@v4
43-
4433 - name : Upload artifact
4534 uses : actions/upload-pages-artifact@v3
4635 with :
4736 path : dist
48-
4937 - name : Deploy to GitHub Pages
50- uses : actions/deploy-pages@v4
38+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments