Skip to content

Commit 3ce67f5

Browse files
committed
chore(ci): Push to gh-pages ourselves
1 parent 1071d76 commit 3ce67f5

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Publish docs via GitHub Pages
2+
name: Build for gh-pages
33

44
on:
55
push:
@@ -39,9 +39,14 @@ jobs:
3939
- name: Install dependencies and update content from submodules
4040
run: make all
4141

42-
- name: Deploy docs
42+
- name: Build site
43+
run: uv run mkdocs build
44+
45+
- name: Deploy pages
4346
if: github.event_name == 'push'
44-
uses: mhausenblas/mkdocs-deploy-gh-pages@master
47+
run: |
48+
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
49+
uv run mkdocs gh-deploy --force
4550
env:
4651
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
CONFIG_FILE: mkdocs.yml
52+
GITHUB_REPOSITORY: bids-standard/bids-website

0 commit comments

Comments
 (0)