-
-
Notifications
You must be signed in to change notification settings - Fork 116
23 lines (22 loc) · 656 Bytes
/
Copy pathdeploy.yml
File metadata and controls
23 lines (22 loc) · 656 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: deploy website preview
on:
pull_request:
branches:
- master
pull_request_target:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./
id: vercel-action
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-comment: false
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID_STATIC }}
- name: preview-url
run: |
echo ${{ steps.vercel-action.outputs.preview-url }}