From: xangelo Date: Thu, 5 Dec 2024 21:32:44 +0000 (-0500) Subject: ci(deploy): notify discord on deploy X-Git-Tag: v0.4.4~9 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=6d87e49164479f0e28d232bc90837d1c9a1fd5ee;p=risinglegends.git ci(deploy): notify discord on deploy --- diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9816d8a..0edd358 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Build +name: Deploy on: push: @@ -30,4 +30,17 @@ jobs: uses: digitalocean/app_action/deploy@v2 with: token: ${{ secrets.DIGITAL_OCEAN_ACCESS_TOKEN }} + + - name: Discord notification + uses: Ilshidur/action-discord@master + env: + DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} + with: + args: | + 🚀 New deployment to Digital Ocean completed! + + Changes in this deployment: + ${{ join(github.event.commits.*.message, '\n') }} + + Deployed by: ${{ github.actor }} \ No newline at end of file