From b4de1ef5b09286f7474d5bfdb0c552ca20cea1e7 Mon Sep 17 00:00:00 2001 From: Tim Zadorozhniy Date: Wed, 21 Apr 2021 18:28:07 +0200 Subject: [PATCH] Create jekyll.yml --- .github/workflows/jekyll.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/jekyll.yml diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml new file mode 100644 index 0000000..64d0024 --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,18 @@ +name: Jekyll site CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +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 -R 777 /srv/jekyll && jekyll build --future"