Skip to content

Commit 767309b

Browse files
committed
Tweak build docs ci
1 parent 0847ff2 commit 767309b

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,14 @@ on:
2121
description: "Last docs version found in /docs. Only need if link_to_latest. Example: 2_21"
2222

2323
concurrency:
24-
group: production
24+
group: build
2525
cancel-in-progress: true
2626

2727
jobs:
28-
build-deploy:
28+
build:
2929
permissions:
3030
contents: read
31-
pages: write
32-
id-token: write
31+
pull-requests: write
3332
environment: production
3433
runs-on: ubuntu-latest
3534

@@ -45,6 +44,9 @@ jobs:
4544
# synced with https://github.com/stan-dev/stan-dev.github.io/blob/master/.github/workflows/build.yml
4645
version: 1.6.39
4746

47+
- name: Install TeX
48+
run: sudo apt-get install -y pandoc texlive-full
49+
4850
- run: python3 add_old_links.py ${{ inputs.major_version }} ${{ inputs.minor_version }}
4951
if: inputs.link_to_latest
5052

‎.github/workflows/deploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ on:
1010
workflow_dispatch:
1111

1212
concurrency:
13-
group: production
13+
group: deploy
1414
cancel-in-progress: true
1515

1616
jobs:
17-
build-deploy:
17+
deploy:
1818
permissions:
1919
contents: read
2020
pages: write

0 commit comments

Comments
 (0)