diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 462594a..cf9e2aa 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -40,13 +40,14 @@ jobs: docker push $IMAGE_ID:${{ steps.version.outputs.tag }} notify: - needs: deploy + name: 📢 Notify in mattermost channel + needs: publish if: always() runs-on: ubuntu-latest steps: - - uses: dataesr/mm-notifier-action@v1 + - uses: dataesr/mm-notifier-action@v1.0.2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN}} mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }} - mattermost_channel: bots - deployment_url: ${{ steps.s3-deploy.outputs.deployment_url }} + mattermost_channel: ${{ env.MM_NOTIFICATION_CHANNEL}} + deployment_url: ${{ env.DEPLOYMENT_URL }}