Merge pull request #523 from musicEnfanthen/correct-dates #83
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 website with Jekyll | |
on: | |
push: | |
jobs: | |
build_jekyll: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'music-encoding' | |
steps: | |
- uses: actions/checkout@v4 | |
# 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- | |
# Build Jekyll to the specified target branch | |
- uses: helaili/jekyll-action@c1527523361ec3ecc54b2371ddef44826e28c0f5 # ratchet:helaili/jekyll-action@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
target_branch: 'gh-pages' |