fix(ci): check out repo if event_name is schedule

This commit is contained in:
Gabe Kangas 2024-11-08 13:16:13 -08:00 committed by GitHub
parent a8026c13bc
commit 83ef466ee1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
if: github.event_name == 'push' if: github.event_name == 'push' || github.event_name == 'schedule'
- name: Build and push - name: Build and push
if: ${{ github.event_name == 'schedule' && env.GH_CR_PAT != null }} if: ${{ github.event_name == 'schedule' && env.GH_CR_PAT != null }}