ci: remove extraneous checkouts
This commit is contained in:
parent
fabbf51317
commit
702d6a70d5
1 changed files with 10 additions and 2 deletions
|
@ -5,7 +5,6 @@ jobs:
|
|||
pre-run-notify:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://forge.karnov.club/marc/push-status-to-discord-action@main
|
||||
id: post-status
|
||||
with:
|
||||
|
@ -28,9 +27,18 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://forge.karnov.club/marc/push-status-to-discord-action@main
|
||||
if: ${{ success() }}
|
||||
with:
|
||||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
project-name: ${{ github.repository }}
|
||||
variant: "success"
|
||||
status: "Success"
|
||||
- uses: https://forge.karnov.club/marc/push-status-to-discord-action@main
|
||||
if: ${{ failure() }}
|
||||
with:
|
||||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
||||
project-name: ${{ github.repository }}
|
||||
variant: "failure"
|
||||
status: "Failure"
|
||||
|
||||
|
|
Loading…
Reference in a new issue