diff --git a/.github/workflows/sync_theme.yml b/.github/workflows/sync_theme.yml index e17d7a2..7aa859d 100644 --- a/.github/workflows/sync_theme.yml +++ b/.github/workflows/sync_theme.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 with: { ref: gh-pages } - name: submodule checkout @@ -38,4 +38,14 @@ jobs: git add -A timestamp=$(date -u) git commit -m "Update theme on: ${timestamp}" || exit 0 - git push \ No newline at end of file + git push + + keepalive-job: + name: Keepalive Workflow + runs-on: ubuntu-latest + if: github.event_name == 'schedule' + permissions: + actions: write + steps: + - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 + - uses: gautamkrishnar/keepalive-workflow@beb86212524e1ae856d1cd80efb44e73bf7daf4a # 2.0.1