mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-09-06 00:52:01 +00:00
23 lines
616 B
YAML
23 lines
616 B
YAML
name: Build and deploy Jekyll site to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths-ignore:
|
|
- '_data/**'
|
|
- '.github/workflows/twitter.yml'
|
|
|
|
# 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' |