-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 899 Bytes
/
jekyll.yml
File metadata and controls
35 lines (30 loc) · 899 Bytes
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
# SPDX-FileCopyrightText: 2020 Robin Vobruba <hoijui.quaero@gmail.com>
#
# SPDX-License-Identifier: CC-BY-SA-4.0
name: Jekyll site CI
on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
jobs:
jekyll:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: |
git clone https://github.com/ASKtraining/tools.git
pip3 install -r tools/requirements.txt
export BASE_IRI="http://myontology.com"
tools/scripts/pre-process
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
# Standard usage
- uses: helaili/jekyll-action@2.2.0
env:
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}