Skip to content

Commit e6abbd8

Browse files
authored
Update to Zola 19 (#582)
1 parent 7af5a7a commit e6abbd8

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

Diff for: .github/workflows/ci.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,33 @@ on:
44
push:
55
pull_request:
66
schedule:
7-
- cron: '0 0 * * MON' # Weekly, Mondays at 00:00
7+
- cron: "0 0 * * MON" # Weekly, Mondays at 00:00
88

99
jobs:
1010
zola:
1111
runs-on: ubuntu-latest
1212
env:
1313
BASE_URL: https://github.com/getzola/zola/releases/download
14-
VERS: v0.15.3
14+
VERS: v0.19.0
1515
ARCH: x86_64-unknown-linux-gnu
1616
# https://github.com/crazy-max/ghaction-github-pages/issues/1#issuecomment-623202206
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
steps:
19-
- uses: actions/checkout@v3
20-
- name: Install Zola
21-
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
22-
- run: ./zola --version
23-
- run: ./zola build
24-
- name: Deploy
25-
if: github.ref == 'refs/heads/master'
26-
uses: crazy-max/ghaction-github-pages@v3
27-
with:
28-
build_dir: public
19+
- uses: actions/checkout@v3
20+
- name: Install Zola
21+
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
22+
- run: ./zola --version
23+
- run: ./zola build
24+
- name: Deploy
25+
if: github.ref == 'refs/heads/master'
26+
uses: crazy-max/ghaction-github-pages@v3
27+
with:
28+
build_dir: public
2929

3030
fmt:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v3
34-
- run: pip3 install pytoml
35-
- run: find . -name data.toml | xargs ./sort_data.py
36-
- run: if [[ `git status --porcelain` ]]; then git diff && exit 1; fi
33+
- uses: actions/checkout@v3
34+
- run: pip3 install pytoml
35+
- run: find . -name data.toml | xargs ./sort_data.py
36+
- run: if [[ `git status --porcelain` ]]; then git diff && exit 1; fi

Diff for: config.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ base_url = "https://arewegameyet.rs/"
77
# Whether to automatically compile all Sass files in the sass directory
88
compile_sass = true
99

10+
# Configure the Markdown rendering
11+
[markdown]
1012
# Whether to do syntax highlighting
11-
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
1213
highlight_code = true
14+
highlight_theme = "base16-ocean-dark"
1315

1416
# Whether to build a search index to be used later on by a JavaScript library
1517
build_search_index = true

0 commit comments

Comments
 (0)