This commit is contained in:
⧉ infominer 2022-11-26 20:33:18 -05:00
parent abd534f9c3
commit 1f1420e008
1 changed files with 13 additions and 17 deletions

View File

@ -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'