Skip to content

Instantly share code, notes, and snippets.

@firewalker06
Created September 16, 2019 11:29
Show Gist options
  • Save firewalker06/6e24ee96123677fb65769a9013a7d19d to your computer and use it in GitHub Desktop.
Save firewalker06/6e24ee96123677fb65769a9013a7d19d to your computer and use it in GitHub Desktop.
name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout to master
uses: actions/checkout@master
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x
- name: Set up gems
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Deploy site
run: bundle exec rake site:publish
env:
GH_PAGES_TOKEN: ${{ secrets.GH_PAGES_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment