Skip to content

Commit

Permalink
adds case for manual trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
taukakao committed Jan 29, 2024
1 parent 43e0f19 commit 5b998d8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/vib-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,18 @@ env:
jobs:
check_update:
runs-on: ubuntu-latest
if: github.event_name != 'schedule'
steps:
- uses: actions/checkout@v4

- name: Check if there was an update to the base image
run: |
if: github.event_name != 'schedule'
run: |
bash ${GITHUB_WORKSPACE}/.github/workflows/check_image_update.sh
echo "exitcode=$?"
echo "exitcode=$?" >> "$GITHUB_OUTPUT"
- name: Update triggered manually
if: github.event_name == 'schedule'
run: |
echo "exitcode=0" >> "$GITHUB_OUTPUT"
hello_world:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5b998d8

Please sign in to comment.