File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
example/.github/workflows Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 37
37
npm install
38
38
npm run build
39
39
- name : Upload
40
+ id : upload
40
41
run : |-
41
- npx @blinkk/fileset upload -s ${{ env.SITE }} -b ${GITHUB_REF#refs/heads/} build
42
+ npx @blinkk/fileset upload \
43
+ -s ${{ env.SITE }} \
44
+ -b ${GITHUB_REF#refs/heads/} \
45
+ -o upload.json \
46
+ build
47
+ echo "::set-output name=build-link::$(jq -r .urls.stagingSha upload.json)"
48
+ echo "::set-output name=dashboard-link::$(jq -r .urls.ui upload.json)"
49
+ echo "::set-output name=staging-link::$(jq -r .urls.stagingBranch upload.json)"
50
+ - name : Comment
51
+ uses : peter-evans/commit-comment@v1
52
+ with :
53
+ body : |
54
+ **Staging Link:**
55
+ ${{ steps.upload.outputs.staging-link }}
56
+ - [Dashboard](${{ steps.upload.outputs.dashboard-link }})
57
+ - [Build](${{ steps.upload.outputs.build-link }})
You can’t perform that action at this time.
0 commit comments