This commit is contained in:
Gabriel 2020-04-19 10:55:43 +02:00 committed by GitHub
parent 114170ba86
commit 12f6a75fbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

14
.github/workflows/ci.yml vendored Normal file
View File

@ -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"

View File

@ -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]