From 7e78440eedbff46656bad5fde98ad7d11ed30562 Mon Sep 17 00:00:00 2001 From: Jenil Gogari Date: Sun, 18 Aug 2019 11:42:20 -0400 Subject: [PATCH] =?UTF-8?q?add=20GH=20action=20=E2=9C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/jekyll.yml | 16 ++++++++++++++++ 1 file changed, 16 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..fbf0eab --- /dev/null +++ b/.github/workflows/jekyll.yml @@ -0,0 +1,16 @@ +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 }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ + jekyll/builder:latest /bin/bash -c "chmod 777 srv/jekyll && jekyll build --future"