Skip to content

Commit e0bbc03

Browse files
committed
ci: fix
1 parent 6719b3d commit e0bbc03

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/deploy.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,31 @@ jobs:
1717
build:
1818
runs-on: ubuntu-22.04
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0 # Fetch all history for git info
23-
- uses: actions/setup-node@v3
23+
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 18.14
25+
node-version: 20
2626
- name: Install Dependencies
2727
run: npm ci
2828
- name: Build Quartz
2929
run: npx quartz build
3030
- name: Upload artifact
31-
uses: actions/upload-pages-artifact@v2
31+
uses: actions/upload-pages-artifact@v3
3232
with:
3333
path: public
3434

3535
deploy:
3636
needs: build
37+
permissions:
38+
pages: write
39+
id-token: write
3740
environment:
3841
name: github-pages
3942
url: ${{ steps.deployment.outputs.page_url }}
4043
runs-on: ubuntu-latest
4144
steps:
4245
- name: Deploy to GitHub Pages
4346
id: deployment
44-
uses: actions/deploy-pages@v2
47+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)