Merge pull request #244 from luzpaz/typos-various #105
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: GitHub Pages publication | |
on: | |
push: | |
branches: [ develop ] | |
paths: | |
- 'site/**' | |
- '.github/workflows/**' | |
jobs: | |
jekyll: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# Use GitHub Actions' cache to shorten build times and decrease load on servers | |
- uses: actions/cache@v3 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
# Specify the Jekyll source location as a parameter | |
- uses: helaili/jekyll-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
jekyll_src: 'site' | |
# Specify the target branch (optional) | |
- uses: helaili/jekyll-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target_branch: 'gh-pages' | |
jekyll_src: 'site' |