Skip to content

Commit

Permalink
improves cron job
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Jan 30, 2024
1 parent 9e42130 commit 4042951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ "main" ]
schedule:
- cron: '* 55 * * *'
- cron: '59 * * * *'
workflow_dispatch:

env:
Expand All @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: Set requirement
run: echo "CHECK_UPDATES=${{ true || github.event_name == 'schedule'}}" >> "$GITHUB_ENV"
run: echo "CHECK_UPDATES=${{ github.event_name == 'schedule'}}" >> "$GITHUB_ENV"

- name: Install dependencies
if: ${{ env.CHECK_UPDATES }}
Expand Down

0 comments on commit 4042951

Please sign in to comment.