Skip to content

Commit

Permalink
feat(workflow): use variable for url in comment action
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Aug 8, 2024
1 parent 8f67c80 commit e446fa1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/comment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}/).

0 comments on commit e446fa1

Please sign in to comment.