Skip to content

Commit

Permalink
Add url to PR comment test
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenruben committed Nov 4, 2024
1 parent 1581a3a commit 0a30c5a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/deploy_nais.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,16 @@ jobs:
RESOURCE: nais.yaml
VAR: image=${{ env.REGISTRY }}/${{env.IMAGE}}:${{ env.TAG }},branch=${{ env.ISSUE_NUMBER }}
DEPLOY_SERVER: deploy.ssb.cloud.nais.io:443
- name: Add comment to PR
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
owner: context.repo.owner,
issue_number: context.issue.number,
repo: context.repo.repo,
body: |
URL to deployed app on NAIS:
https://ssbno-${{ github.head_ref }}.external.test.ssb.cloud.nais.io
})

0 comments on commit 0a30c5a

Please sign in to comment.