From 226fbb1e9e482eb3216a8e930d3ebc003a7b62a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 13 Apr 2020 18:30:22 +0200 Subject: [PATCH] Adding a message with deployment location at the end of deployment --- .github/workflows/build-and-deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index f2608367..ca8e5c02 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -75,3 +75,11 @@ jobs: KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }} with: namespace: workadventure-${{ env.GITHUB_REF_SLUG }} + + - name: Add a comment in PR + uses: unsplash/comment-on-pr@1.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + msg: Environment deployed at http://${{ env.GITHUB_REF_SLUG }}.workadventure.test.thecodingmachine.com + check_for_duplicate_msg: true