Skip to content

Commit 1071d76

Browse files
authored
chore(ci): Fix deploy (run deploy minus the deployment on PRs) (#712)
1 parent 5c4e439 commit 1071d76

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- main
8+
pull_request:
89

910
concurrency:
1011
group: ${{ github.workflow }}-${{ github.ref }}
@@ -26,21 +27,21 @@ jobs:
2627
fetch-depth: 0
2728

2829
- name: Set up Python
29-
uses: actions/setup-python@v6
30+
uses: astral-sh/setup-uv@v6
3031
with:
3132
python-version: 3.12
3233

3334
- name: Set up node
3435
uses: actions/setup-node@v5
3536
with:
36-
node-version: 22
37+
node-version: 24
3738

3839
- name: Install dependencies and update content from submodules
3940
run: make all
4041

4142
- name: Deploy docs
43+
if: github.event_name == 'push'
4244
uses: mhausenblas/mkdocs-deploy-gh-pages@master
4345
env:
4446
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4547
CONFIG_FILE: mkdocs.yml
46-
REQUIREMENTS: requirements.txt

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)