Change FAQ link #873
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Netlify comment on PR | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
comment-on-pr: | |
runs-on: ubuntu-latest | |
name: Comment deploy URL to PR | |
steps: | |
- name: Get branch hash | |
id: get_hash | |
run: echo "::set-output name=hash::$(echo '${{ github.ref }}' | shasum | awk '{print $1}' | head -c 10 )" | |
- name: Comment on PR | |
uses: thollander/[email protected] | |
continue-on-error: true | |
with: | |
message: | | |
Deployment previews on netlify for branch `${{ github.ref }}` will be at the following locations (when build is done): | |
- UI with mock store: <https://${{ steps.get_hash.outputs.hash }}-mock--wbstack-ui.netlify.app/> | |
- UI pointing to prod: <https://${{ steps.get_hash.outputs.hash }}-prod--wbstack-ui.netlify.app/> | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |