Upgrade to zola 0.18.0 (#82) #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Trigger the workflow on push or pull request | |
on: [push, pull_request] | |
name: Build | |
jobs: | |
build-1: | |
name: Build with minimal options | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build with the latest action rev | |
uses: shalzz/zola-deploy-action@master | |
env: | |
BUILD_ONLY: true | |
BUILD_DIR: test-site | |
build-2: | |
name: Build with BUILD_FLAGS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build with the latest action rev | |
uses: shalzz/zola-deploy-action@master | |
env: | |
BUILD_ONLY: true | |
BUILD_DIR: test-site | |
BUILD_FLAGS: --drafts --base-url example.com | |
build-3: | |
name: Build with CHECK_LINKS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build with the latest action rev | |
uses: shalzz/zola-deploy-action@master | |
env: | |
BUILD_ONLY: true | |
BUILD_DIR: test-site | |
CHECK_LINKS: true | |
build-4: | |
name: Build with CHECK_LINKS and CHECK_FLAGS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Build with the latest action rev | |
uses: shalzz/zola-deploy-action@master | |
env: | |
BUILD_ONLY: true | |
BUILD_DIR: test-site | |
CHECK_LINKS: true | |
CHECK_FLAGS: --drafts |