Skip to content

Commit

Permalink
Switch to different Slack notification action
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Dec 19, 2024
1 parent f43d0b3 commit a521b9b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
run: |
gem install asciidoctor-pdf
asciidoctor-pdf -v
- name: Clean build directory
run: if exist build rd /Q /S build
- name: Build Antora site
run: npx antora antora-playbook.yml
- name: Generate EPUB3
Expand Down Expand Up @@ -67,10 +65,14 @@ jobs:
host: ssh.strato.de
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
- name: Notify Slack
if: always()
uses: 8398a7/action-slack@v3
notify-slack:
if: github.repository == 'juice-shop/pwning-juice-shop' && github.event_name == 'push' && (success() || failure())
needs:
- build
runs-on: ubuntu-latest
steps:
- name: "Slack workflow notification"
uses: Gamesight/slack-workflow-status@26a36836c887f260477432e4314ec3490a84f309 #v1.2.0
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit a521b9b

Please sign in to comment.