From e446fa19c35b0053098f3988e6bbe09cdf6996f2 Mon Sep 17 00:00:00 2001 From: noxil Date: Thu, 8 Aug 2024 13:48:23 +0200 Subject: [PATCH] feat(workflow): use variable for url in comment action --- .github/workflows/comment-dev.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comment-dev.yml b/.github/workflows/comment-dev.yml index ba76f5b..867f2c1 100644 --- a/.github/workflows/comment-dev.yml +++ b/.github/workflows/comment-dev.yml @@ -14,6 +14,8 @@ jobs: - name: Comment PR uses: thollander/actions-comment-pull-request@v2 + env: + URL_DEVELOPMENT: ${{ vars.URL_DEVELOPMENT }} with: message: | - This is a link to a preview of the website from this Pull Request: [dev.berlin.freifunk.net/${{ github.head_ref }}/](http://dev.berlin.freifunk.net/${{ github.head_ref }}/). + This is a link to a preview of the website from this Pull Request: [${{ vars.URL_DEVELOPMENT }}/${{ github.head_ref }}/](${{ vars.URL_DEVELOPMENT }}/${{ github.head_ref }}/).