From 12f6a75fbca30475df5eec81f1006a9ac49840f7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sun, 19 Apr 2020 10:55:43 +0200 Subject: [PATCH] Add GHCI (#613) --- .github/workflows/ci.yml | 14 ++++++++++++++ Gemfile | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5547d43 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +name: Beautiful Jekyll CI +on: [push, pull_request] +jobs: + build: + name: Build 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 \ + -e PAGES_REPO_NWO=${{ github.repository }} \ + jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future" diff --git a/Gemfile b/Gemfile index 7e0abdb..0ccdb74 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem "github-pages", '197', group: :jekyll_plugins +gem "github-pages", group: :jekyll_plugins # enable tzinfo-data for local build # gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]