2020-04-19 10:55:43 +02:00
|
|
|
name: Beautiful Jekyll CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build Jekyll
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build the site in the jekyll/builder container
|
|
|
|
run: |
|
2020-05-24 17:27:43 +02:00
|
|
|
export JEKYLL_VERSION=3.8
|
2020-04-19 10:55:43 +02:00
|
|
|
docker run \
|
|
|
|
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
|
|
|
-e PAGES_REPO_NWO=${{ github.repository }} \
|
2020-05-24 17:27:43 +02:00
|
|
|
jekyll/builder:$JEKYLL_VERSION /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|