File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 99 - main
1010 workflow_dispatch :
1111
12+ env :
13+ WEBAPP_NAME : tjavagit1
14+ SLOT_NAME : pr-${{ github.event.number }}
15+
1216jobs :
1317 build :
1418 runs-on : ubuntu-latest
4852 slot-name : ' staging'
4953 publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE }}
5054 package : ' *.jar'
55+
56+
57+ - name : Comment on PR with the preview link
58+ uses : mshick/add-pr-comment@v1
59+ with :
60+ message : |
61+ # # Preview link: https://${{ env.WEBAPP_NAME }}-${{env.SLOT_NAME }}.azurewebsites.net
62+
63+ - Your changes have been deployed to the preview site. The preview site will update as you add more commits to this branch.
64+ - The preview link is shareable, but will be deleted when the pull request is merged or closed.
65+ > *This is an automated message.*
66+ repo-token : ${{ secrets.GITHUB_TOKEN }}
67+ repo-token-user-login : ' github-actions[bot]'
You can’t perform that action at this time.
0 commit comments