mirror of
https://github.com/jenil/chota.git
synced 2023-08-10 21:13:07 +03:00
17 lines
416 B
YAML
17 lines
416 B
YAML
name: Jekyll site CI
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Build the site in the jekyll/builder container
|
|
run: |
|
|
docker run \
|
|
-v ${{ github.workspace }}/docs:/srv/jekyll -v ${{ github.workspace }}/docs/_site:/srv/jekyll/_site \
|
|
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"
|