decentralized-id.github.io/.github/workflows/github-pages.yml

29 lines
703 B
YAML
Raw Normal View History

2022-11-26 20:08:22 -05:00
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
paths-ignore:
- '_data/**'
- '.github/workflows/twitter.yml'
2022-11-26 20:34:48 -05:00
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2022-11-26 20:33:18 -05:00
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Specify the target branch (optional)
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'