Skip to content

Commit 2ede23f

Browse files
committed
Put the zola binary in PATH for CI
1 parent b737ed2 commit 2ede23f

File tree

5 files changed

+23
-2
lines changed

5 files changed

+23
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,18 @@ jobs:
1010
steps:
1111
- name: 'Checkout'
1212
uses: actions/checkout@main
13+
with:
14+
submodules: "recursive"
1315
- uses: actions/setup-node@v4
1416
with:
1517
node-version: 20
18+
- run: |
19+
sudo apt-get update && sudo apt-get install -y wget git
20+
- run: |
21+
wget -q -O - \
22+
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
23+
| sudo tar xzf - -C /usr/local/bin
24+
1625
- run: npm install
1726
- run: npm run abridge
1827
- name: 'Build only'
@@ -28,9 +37,17 @@ jobs:
2837
steps:
2938
- name: 'Checkout'
3039
uses: actions/checkout@main
40+
with:
41+
submodules: "recursive"
3142
- uses: actions/setup-node@v4
3243
with:
3344
node-version: 20
45+
- run: |
46+
sudo apt-get update && sudo apt-get install -y wget git
47+
- run: |
48+
wget -q -O - \
49+
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
50+
| sudo tar xzf - -C /usr/local/bin
3451
- run: npm install
3552
- run: npm run abridge
3653
- name: 'Build and deploy'

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.env
22
public
3-
themes
43
build
54
storage
65
node_modules
@@ -12,4 +11,4 @@ static/tinysearch_engine_bg.wasm.d.ts
1211
static/package.json
1312
static/js/pagefind.*.pf_meta
1413
static/js/index
15-
static/js/fragment
14+
static/js/fragment

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/abridge"]
2+
path = themes/abridge
3+
url = https://github.com/jieiku/abridge.git

config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ build_search_index = true
1515
generate_feeds = true
1616
taxonomies = [
1717
{name = "categories", feed = true},
18+
{name = "tags"},
1819
{name = "authors"}
1920
]
2021

themes/abridge

Submodule abridge added at 7894331

0 commit comments

Comments
 (0)