mirror of
https://github.com/zhigang1992/now-deployment.git
synced 2026-04-24 04:15:21 +08:00
ci: now-args: '--prod'
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -1,8 +1,5 @@
|
||||
name: deploy website preview
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
17
.github/workflows/prod.yml
vendored
Normal file
17
.github/workflows/prod.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
name: deploy website preview
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: ./
|
||||
id: now-deployment
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
zeit-token: ${{ secrets.ZEIT_TOKEN }}
|
||||
now-args: '--prod'
|
||||
Reference in New Issue
Block a user