This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ToToday.app/.github/workflows/deploy.yml
2022-02-12 20:35:25 -03:00

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)