Skip to content

Commit 51e67b8

Browse files
committed
s
1 parent 6345f66 commit 51e67b8

File tree

2 files changed

+27
-4
lines changed

2 files changed

+27
-4
lines changed

.github/workflows/pr.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,30 @@ permissions: {}
1818
env:
1919
PYTHONUNBUFFERED: 1
2020
FORCE_COLOR: 1
21+
UV_FROZEN: true # do not update the lockfile during `uv sync` and `uv run` commands
2122

2223
jobs:
2324
test:
2425
uses: ./.github/workflows/test.yml
26+
2527
docs:
26-
permissions:
27-
contents: write
28-
uses: ./.github/workflows/docs.yml
28+
# disables this workflow from running in a repository that is not part of the indicated organization/user
29+
if: github.repository_owner == 'afuetterer'
30+
runs-on: ubuntu-24.04
31+
steps:
32+
- name: Set up just
33+
uses: extractions/setup-just@v2
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
35+
- name: Set up uv
36+
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2
37+
with:
38+
python-version: '3.13'
39+
enable-cache: true
40+
prune-cache: false
41+
cache-suffix: docs
42+
- run: just sync-docs
43+
- run: just docs-build
44+
2945
required-checks-pass:
3046
if: always()
3147
needs:

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,14 @@ jobs:
105105
# disables this workflow from running in a repository that is not part of the indicated organization/user
106106
if: github.repository_owner == 'afuetterer'
107107
runs-on: ubuntu-24.04
108+
permissions:
109+
contents: write
108110
steps:
109111
- name: Set up just
110112
uses: extractions/setup-just@v2
111113
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
114+
with:
115+
fetch-depth: 0 # fetch all commits and branches
112116
- name: Set up uv
113117
uses: astral-sh/setup-uv@4db96194c378173c656ce18a155ffc14a9fc4355 # v5.2.2
114118
with:
@@ -117,4 +121,7 @@ jobs:
117121
prune-cache: false
118122
cache-suffix: docs
119123
- run: just sync-docs
120-
- run: just docs-build
124+
- run: just docs-deploy
125+
env:
126+
GIT_COMMITTER_NAME: github-actions[bot]
127+
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com

0 commit comments

Comments
 (0)