Skip to content

Commit 9e26cc5

Browse files
committed
update workflow
1 parent 1997f93 commit 9e26cc5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ghpages.yml

+7
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,28 @@ on: [push]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
811
steps:
912
- name: Checkout Dashboard code
1013
uses: actions/checkout@v3
14+
1115
- uses: pnpm/action-setup@v2
1216
with:
1317
version: latest
18+
1419
- name: Setup Nodejs
1520
uses: actions/setup-node@v3
1621
with:
1722
node-version: '18.x'
1823
cache: pnpm
24+
1925
- name: Install package and build
2026
run: |
2127
pnpm install --frozen-lockfile
2228
pnpm build
29+
2330
- name: Deploy
2431
uses: peaceiris/actions-gh-pages@v3
2532
with:

0 commit comments

Comments
 (0)