-
-
Notifications
You must be signed in to change notification settings - Fork 92
49 lines (48 loc) · 1.31 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# 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