We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1071d76 commit 3ce67f5Copy full SHA for 3ce67f5
.github/workflows/deploy.yml
@@ -1,5 +1,5 @@
1
---
2
-name: Publish docs via GitHub Pages
+name: Build for gh-pages
3
4
on:
5
push:
@@ -39,9 +39,14 @@ jobs:
39
- name: Install dependencies and update content from submodules
40
run: make all
41
42
- - name: Deploy docs
+ - name: Build site
43
+ run: uv run mkdocs build
44
+
45
+ - name: Deploy pages
46
if: github.event_name == 'push'
- 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
50
env:
51
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- CONFIG_FILE: mkdocs.yml
52
+ GITHUB_REPOSITORY: bids-standard/bids-website
0 commit comments