mirror of
https://github.com/peter-tanner/code.git
synced 2024-11-30 10:50:16 +08:00
22 lines
464 B
YAML
22 lines
464 B
YAML
name: Build Jekyll
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Ruby 2.6
|
|
uses: actions/setup-ruby@v1
|
|
with:
|
|
ruby-version: 2.6
|
|
- name: Build and test with Jekyll
|
|
run: |
|
|
sudo apt-get -yqq install libpq-dev
|
|
gem install bundler
|
|
bundle install --jobs 4 --retry 3
|
|
bundle exec jekyll build |