Files
now-deployment/.github/workflows/deploy.yml
amond f943bcfed3 fix: outputs object is always empty (#29)
* fix: Outputs object is always empty

output is only set if comment on commit or pull is enabled.
2020-02-25 23:16:01 +09:00

22 lines
571 B
YAML

name: deploy website preview
on:
pull_request:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
id: now-deployment
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
zeit-token: ${{ secrets.ZEIT_TOKEN }}
github-comment: false
now-org-id: ${{ secrets.NOW_ORG_ID }}
now-project-id: ${{ secrets.NOW_PROJECT_ID_STATIC }}
- name: preview-url
run: |
echo ${{ steps.now-deployment.outputs.preview-url }}