From 9e0dfceede6299f7edb2b897be1c16bc055150bb Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Wed, 17 Feb 2021 02:46:28 +0100 Subject: Disable auto-embeds in Discord notifications --- .github/workflows/ci-cd.yml | 2 +- .github/workflows/discord-closed-issues.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index c9ab7b68..322d027f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -90,7 +90,7 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_SEVEN_WONDERS }} uses: Ilshidur/action-discord@0.3.0 with: - args: "[Build #${{github.run_id}}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}): Deploying new version `${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG_BUILD }}` ([see changes]({{ EVENT_PAYLOAD.compare }}))..." + args: "[Build #${{github.run_id}}](): Deploying new version `${{ env.DOCKERHUB_USER }}/${{ env.DOCKER_IMAGE_NAME }}:${{ env.DOCKER_IMAGE_TAG_BUILD }}` ([see changes](<{{ EVENT_PAYLOAD.compare }}>))..." - name: Deploy to DigitalOcean Kubernetes run: kubectl apply -f kubernetes diff --git a/.github/workflows/discord-closed-issues.yml b/.github/workflows/discord-closed-issues.yml index f0a2e903..7ade5e51 100644 --- a/.github/workflows/discord-closed-issues.yml +++ b/.github/workflows/discord-closed-issues.yml @@ -15,4 +15,4 @@ jobs: DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_SEVEN_WONDERS }} uses: Ilshidur/action-discord@0.3.0 with: - args: '[Issue #{{ EVENT_PAYLOAD.issue.number }}]({{ EVENT_PAYLOAD.issue.html_url }}) closed: {{ EVENT_PAYLOAD.issue.title }}' + args: '[Issue #{{ EVENT_PAYLOAD.issue.number }}](<{{ EVENT_PAYLOAD.issue.html_url }}>) closed: {{ EVENT_PAYLOAD.issue.title }}' -- cgit