Skip to content

Commit

Permalink
Put the zola binary in PATH for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Aug 12, 2024
1 parent b737ed2 commit 2ede23f
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@ jobs:
steps:
- name: 'Checkout'
uses: actions/checkout@main
with:
submodules: "recursive"
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
sudo apt-get update && sudo apt-get install -y wget git
- run: |
wget -q -O - \
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
| sudo tar xzf - -C /usr/local/bin
- run: npm install
- run: npm run abridge
- name: 'Build only'
Expand All @@ -28,9 +37,17 @@ jobs:
steps:
- name: 'Checkout'
uses: actions/checkout@main
with:
submodules: "recursive"
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
sudo apt-get update && sudo apt-get install -y wget git
- run: |
wget -q -O - \
"https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \
| sudo tar xzf - -C /usr/local/bin
- run: npm install
- run: npm run abridge
- name: 'Build and deploy'
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.env
public
themes
build
storage
node_modules
Expand All @@ -12,4 +11,4 @@ static/tinysearch_engine_bg.wasm.d.ts
static/package.json
static/js/pagefind.*.pf_meta
static/js/index
static/js/fragment
static/js/fragment
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/abridge"]
path = themes/abridge
url = https://github.com/jieiku/abridge.git
1 change: 1 addition & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ build_search_index = true
generate_feeds = true
taxonomies = [
{name = "categories", feed = true},
{name = "tags"},
{name = "authors"}
]

Expand Down
1 change: 1 addition & 0 deletions themes/abridge
Submodule abridge added at 789433

0 comments on commit 2ede23f

Please sign in to comment.