File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 uses : actions/setup-node@v4
1616 with :
1717 node-version-file : ' .nvmrc'
18+ cache : ' pnpm'
1819
1920 - name : Setup pnpm
2021 uses : pnpm/action-setup@v4
22+ with :
23+ version : 10
2124
2225 - name : Install dependencies
2326 run : pnpm install
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22
33on :
44 push :
5- branches : [main]
5+ # branches: [main]
66 workflow_dispatch :
77
88permissions :
2525 uses : actions/setup-node@v4
2626 with :
2727 node-version-file : ' .nvmrc'
28+ cache : ' pnpm'
29+
30+ - name : Setup pnpm
31+ uses : pnpm/action-setup@v4
32+ with :
33+ version : 10
2834
2935 - name : Install dependencies
3036 run : pnpm install
@@ -38,14 +44,14 @@ jobs:
3844 with :
3945 path : ./dist
4046
41- deploy :
42- if : github.event_name != 'pull_request'
43- environment :
44- name : github-pages
45- url : ${{ steps.deployment.outputs.page_url }}
46- runs-on : ubuntu-latest
47- needs : build
48- steps :
49- - name : Deploy to GitHub Pages
50- id : deployment
51- uses : actions/deploy-pages@v4
47+ # deploy:
48+ # if: github.event_name != 'pull_request'
49+ # environment:
50+ # name: github-pages
51+ # url: ${{ steps.deployment.outputs.page_url }}
52+ # runs-on: ubuntu-latest
53+ # needs: build
54+ # steps:
55+ # - name: Deploy to GitHub Pages
56+ # id: deployment
57+ # uses: actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments