Skip to content

Update source/includes/github/_root.md #21

Update source/includes/github/_root.md

Update source/includes/github/_root.md #21

Workflow file for this run

name: Deploy
on:
push:
branches:
- 'master'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: gems-${{ runner.os }}-2.4.2-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
gems-${{ runner.os }}-2.4.2-
gems-${{ runner.os }}-
- name: bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- run: bundle exec middleman build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
keep_files: true