This commit is contained in:
Kreyren 2020-02-07 20:09:19 +00:00
parent 5663b7579d
commit 49cb01e2ed
2 changed files with 12 additions and 17 deletions

@ -216,4 +216,15 @@ jobs:
- name: Test with pytest
run: |
pip install pytest
pytest
pytest src/bin/main.py
# Jekyll
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"

@ -1,16 +0,0 @@
name: Jekyll site CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"