From 1f1420e0084ff8cc66ef686fa0ab0fdc49ee603d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=A7=89=20infominer?= Date: Sat, 26 Nov 2022 20:33:18 -0500 Subject: [PATCH] test --- .github/workflows/github-pages.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 0df54af4..28122ea4 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -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 }} - \ No newline at end of file + # 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' \ No newline at end of file