Skip to content

Commit 406196f

Browse files
committed
devops
1 parent 38ba005 commit 406196f

1 file changed

Lines changed: 6 additions & 20 deletions

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,9 @@ jobs:
1313
- name: Check out repository
1414
uses: actions/checkout@v4
1515

16-
- name: Set up Python 3.12
17-
uses: actions/setup-python@v5
18-
with:
19-
python-version: '3.12'
20-
cache: 'uv'
21-
22-
- name: Install dependencies with uv
16+
- name: Install dependencies
2317
run: |
24-
pip install uv
25-
uv sync
18+
pip install .
2619
2720
- name: Set up Quarto
2821
uses: quarto-dev/quarto-actions/setup@v2
@@ -33,7 +26,7 @@ jobs:
3326
path: book
3427
target: quarto-pub
3528
QUARTO_PUB_AUTH_TOKEN: ${{ secrets.QUARTO_PUB_AUTH_TOKEN }}
36-
29+
3730
build-deploy-to-gh:
3831
runs-on: ubuntu-latest
3932
permissions:
@@ -42,17 +35,10 @@ jobs:
4235
- name: Check out repository
4336
uses: actions/checkout@v4
4437

45-
- name: Set up Python 3.12
46-
uses: actions/setup-python@v5
47-
with:
48-
python-version: '3.12'
49-
cache: 'uv'
50-
51-
- name: Install dependencies with uv
38+
- name: Install dependencies
5239
run: |
53-
pip install uv
54-
uv sync
55-
40+
pip install .
41+
5642
- name: Set up Quarto
5743
uses: quarto-dev/quarto-actions/setup@v2
5844

0 commit comments

Comments
 (0)