Created
September 16, 2019 11:29
-
-
Save firewalker06/6e24ee96123677fb65769a9013a7d19d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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