Merge pull request #14 from joelschutz/devlog #14
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: Build and deploy Jekyll site to GitHub Pages | |
on: | |
push: | |
branches: | |
- main # or master before October 2020 | |
workflow_dispatch: | |
jobs: | |
github-pages: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- uses: helaili/[email protected] # Choose any one of the Jekyll Actions | |
with: # Some relative inputs of your action | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target_branch: 'gh-pages' |