Skip to content

Commit b5738ea

Browse files
committed
fix(ci): add permission to move contents
1 parent be06d8b commit b5738ea

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
actions: write
13+
contents: write
14+
pages: write
1115
steps:
1216
- name: Checkout
1317
uses: actions/checkout@v4
@@ -27,7 +31,7 @@ jobs:
2731
pnpm build
2832
- name: copy 2025 to _site
2933
shell: bash
30-
run: cp -r 2025/dist/ _site/2025/
34+
run: cp -r ./2025/dist/ ./_site/2025/
3135

3236
- name: Upload artifact
3337
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)