Skip to content

Commit 4baf71e

Browse files
fix: fix github actions deployment workflow
1 parent f4de62b commit 4baf71e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ jobs:
3737
- name: Checkout code
3838
uses: actions/checkout@v4
3939

40+
- name: Set up Node.js
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: '24'
44+
45+
- name: Install pnpm
46+
uses: pnpm/action-setup@v4
47+
with:
48+
version: 10
49+
4050
- name: Set up Python
4151
uses: actions/setup-python@v5
4252
with:
@@ -50,6 +60,10 @@ jobs:
5060
- name: Install afterpython
5161
run: uv pip install --system afterpython
5262

63+
- name: Install website dependencies
64+
run: pnpm install
65+
working-directory: ./afterpython/_website
66+
5367
- name: Build website
5468
run: ap build
5569

afterpython/templates/deploy-workflow-template.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ jobs:
3737
- name: Checkout code
3838
uses: actions/checkout@v4
3939

40+
- name: Set up Node.js
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: '24'
44+
45+
- name: Install pnpm
46+
uses: pnpm/action-setup@v4
47+
with:
48+
version: 10
49+
4050
- name: Set up Python
4151
uses: actions/setup-python@v5
4252
with:
@@ -50,6 +60,10 @@ jobs:
5060
- name: Install afterpython
5161
run: uv pip install --system afterpython
5262

63+
- name: Install website dependencies
64+
run: pnpm install
65+
working-directory: ./afterpython/_website
66+
5367
- name: Build website
5468
run: ap build
5569

0 commit comments

Comments
 (0)