ci: Only skip the Discord notification in forks, not the entire Dockerfile test
This commit is contained in:
parent
13efea13ee
commit
08a0ac459e
|
@ -13,8 +13,6 @@ jobs:
|
||||||
name: Test the Dockerfile
|
name: Test the Dockerfile
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
if: github.repository == 'ruffle-rs/ruffle'
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
@ -37,7 +35,7 @@ jobs:
|
||||||
|
|
||||||
- name: Notify Discord
|
- name: Notify Discord
|
||||||
uses: th0th/notify-discord@v0.4.1
|
uses: th0th/notify-discord@v0.4.1
|
||||||
if: ${{ always() }}
|
if: ${{ always() && github.repository == 'ruffle-rs/ruffle' }}
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_UPDATES }}
|
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_UPDATES }}
|
||||||
GITHUB_ACTOR: ${{ github.actor }}
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
|
|
Loading…
Reference in New Issue