Files
starter-workflows/ci/jekyll.yml
T

17 lines
421 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-08-14 10:43:09 -04:00
- uses: actions/checkout@v1
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-08-09 14:52:33 -04:00
jekyll/builder:latest /bin/bash -c "chmod 777 srv/jekyll && jekyll build --future"