Skip to content

Deploy

Deploy #8

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows:
- Integração contínua # Certifique-se que este nome está correto
types:
- completed
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: production
url: https://eventex.fly.dev
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Fly
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy
run: flyctl deploy --remote-only --strategy immediate
env:
FLY_API_TOKEN: ${{ secrets.FLY_TOKEN }}