Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Zola 19 #582

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * MON' # Weekly, Mondays at 00:00
- cron: "0 0 * * MON" # Weekly, Mondays at 00:00

jobs:
zola:
runs-on: ubuntu-latest
env:
BASE_URL: https://github.com/getzola/zola/releases/download
VERS: v0.15.3
VERS: v0.19.0
ARCH: x86_64-unknown-linux-gnu
# https://github.com/crazy-max/ghaction-github-pages/issues/1#issuecomment-623202206
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Install Zola
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
- run: ./zola --version
- run: ./zola build
- name: Deploy
if: github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v3
with:
build_dir: public
- uses: actions/checkout@v3
- name: Install Zola
run: curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
- run: ./zola --version
- run: ./zola build
- name: Deploy
if: github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v3
with:
build_dir: public

fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: pip3 install pytoml
- run: find . -name data.toml | xargs ./sort_data.py
- run: if [[ `git status --porcelain` ]]; then git diff && exit 1; fi
- uses: actions/checkout@v3
- run: pip3 install pytoml
- run: find . -name data.toml | xargs ./sort_data.py
- run: if [[ `git status --porcelain` ]]; then git diff && exit 1; fi
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ base_url = "https://arewegameyet.rs/"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

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

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
Expand Down
Loading