Skip to content

Commit 17affab

Browse files
committed
Put the zola binary in PATH for CI
1 parent b737ed2 commit 17affab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 20
16+
- run: |
17+
apt-get update && apt-get install -y wget git
18+
- run: |
19+
wget -q -O - \
20+
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
21+
| tar xzf - -C /usr/local/bin
22+
1623
- run: npm install
1724
- run: npm run abridge
1825
- name: 'Build only'
@@ -31,6 +38,12 @@ jobs:
3138
- uses: actions/setup-node@v4
3239
with:
3340
node-version: 20
41+
- run: |
42+
apt-get update && apt-get install -y wget git
43+
- run: |
44+
wget -q -O - \
45+
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
46+
| tar xzf - -C /usr/local/bin
3447
- run: npm install
3548
- run: npm run abridge
3649
- name: 'Build and deploy'

0 commit comments

Comments
 (0)