Skip to content

Discord Notification #151

Discord Notification

Discord Notification #151

Workflow file for this run

name: Discord Notification
on:
workflow_run:
workflows: [pages-build-deployment]
types:
- completed
jobs:
notify:
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Discord notification of deployment
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_DEPLOY_GITHUB_WEBHOOK }}
uses: Ilshidur/[email protected]
with:
args: 'PyLadies website has been deployed. Changes to the website content are on https://github.com/${{ github.repository}}/commit/${{ github.event.workflow_run.head_sha }}. This latest commit in the default branch causing the deploy was https://github.com/${{ github.repository}}/commit/${{ github.sha }}.'