Skip to content

Commit f9c8717

Browse files
authored
fix: documentation deployment (#3190)
* attempt to fix deployment * change docs to test * test * test * test * remove docs check
1 parent fa686cb commit f9c8717

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/docs_deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ concurrency:
1919
group: pages
2020
cancel-in-progress: false
2121

22+
permissions:
23+
contents: write
24+
2225
jobs:
2326
# Build job
2427
build:
@@ -46,6 +49,6 @@ jobs:
4649
- name: Deploy to GitHub Pages
4750
uses: peaceiris/actions-gh-pages@v4
4851
with:
49-
github_token: ${{ secrets.PAT_DOCS }}
52+
github_token: ${{ secrets.GITHUB_TOKEN }}
5053
publish_dir: ./docs/.vitepress/dist
5154
cname: ev.xyz

.github/workflows/docs_preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v6.0.2
25+
with:
26+
persist-credentials: false
2527

2628
- name: Setup Node
2729
uses: actions/setup-node@v6

0 commit comments

Comments
 (0)