Skip to content

Merge pull request #726 from joaosteinstraesser/patch-2 #189

Merge pull request #726 from joaosteinstraesser/patch-2

Merge pull request #726 from joaosteinstraesser/patch-2 #189

Workflow file for this run

name: Build site
on:
push:
branches:
- source
pull_request:
branches:
- source
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: 📂 setup
uses: actions/checkout@v2
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.1 # can change this to 2.7 or whatever version you prefer
bundler-cache: true
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: master