Skip to content

Commit

Permalink
Update nightly.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab authored Sep 16, 2024
1 parent 74730eb commit 22ed814
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ on:
# At 01:00, daily
workflow_dispatch:

env:
WEBHOOK_EXISTS: ${{ secrets.SLACK_WEBHOOK_URL != '' }}

jobs:
nightly-wagtail-test:
runs-on: ubuntu-latest
env:
WEBHOOK_EXISTS: ${{ secrets.SLACK_WEBHOOK_URL != '' }}
if: ${{ env.WEBHOOK_EXISTS }}
if: ${{ vars.WEBHOOK_EXISTS }}

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 22ed814

Please sign in to comment.