Files
starter-workflows/ci/jekyll.yml
T

17 lines
422 B
YAML
Raw Normal View History

2019-08-06 16:37:30 -07:00
name: Jekyll site CI
2019-07-29 09:38:23 -07:00
2019-08-06 16:37:30 -07:00
on: [push]
2019-07-29 09:38:23 -07:00
jobs:
build:
2019-08-06 16:37:30 -07:00
2019-07-29 09:38:23 -07:00
runs-on: ubuntu-latest
2019-08-06 16:37:30 -07:00
steps:
2019-12-24 14:22:22 -08:00
- uses: actions/checkout@v2
2019-07-29 09:38:23 -07:00
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
2019-09-02 23:21:23 +02:00
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"