mirror of
https://github.com/Decentralized-ID/decentralized-id.github.io.git
synced 2024-12-17 11:34:30 -05:00
test
This commit is contained in:
parent
abd534f9c3
commit
1f1420e008
30
.github/workflows/github-pages.yml
vendored
30
.github/workflows/github-pages.yml
vendored
@ -8,20 +8,16 @@ on:
|
||||
- '_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 }}
|
||||
|
||||
# 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'
|
Loading…
Reference in New Issue
Block a user