ci: preview deploy output

This commit is contained in:
Marc 2021-07-17 11:56:18 -04:00
parent 488190334b
commit 0cf4b22d90

View file

@ -1,7 +1,7 @@
on: on:
push: push:
#branches: branches:
# master master
pull_request: pull_request:
env: env:
@ -89,7 +89,7 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
script: | script: |
github.issues.createComment({ github.issues.createComment({
issue_number: context.paylod.pull_request.number, issue_number: context.issue.number,
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
body: process.env.NETLIFY_STDOUT body: process.env.NETLIFY_STDOUT