Skip to content

chore: add condition to send inactive PRs (#46) #11

chore: add condition to send inactive PRs (#46)

chore: add condition to send inactive PRs (#46) #11

Workflow file for this run

name: Deploy Agent to Fly.io
on:
push:
branches:
- main
paths:
- 'apps/agent/**'
- '.github/workflows/deploy-agent.yml'
# Allow manual triggering
workflow_dispatch:
# Environment variables available to all jobs and steps in this workflow
env:
NODE_VERSION: '18'
jobs:
deploy:
name: Deploy Agent
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io
run: |
echo "Deploying Agent to Fly.io..."
flyctl deploy --config apps/agent/fly.toml --ha=false
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}