23 lines
694 B
YAML
23 lines
694 B
YAML
name: Deployment
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: production
|
|
url: https://totoday.vercel.app
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: amondnet/vercel-action@v20
|
|
with:
|
|
vercel-token: ${{ secrets.LORED_VERCEL_TOKEN }}
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
vercel-args: '--prod'
|
|
vercel-org-id: ${{ secrets.ORG_ID}}
|
|
vercel-project-id: ${{ secrets.PROJECT_ID}}
|
|
github-comment: App deployed for production at:\n\nhttps://totoday.vercel.app\n\nCreated with [vercel-action](https://github.com/marketplace/actions/vercel-action)
|