mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-09-06 00:52:01 +00:00
27 lines
672 B
YAML
27 lines
672 B
YAML
name: Build and deploy Jekyll site to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- '_data/**'
|
|
- '.github/workflows/twitter.yml'
|
|
|
|
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/jekyll-action@2.0.5 # Choose any one of the Jekyll Actions
|
|
with:
|
|
target_branch: 'gh-pages'
|
|
env:
|
|
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
|
|
|