Skip to content

fix: suppress canceled rate limit logs (#21) #21

fix: suppress canceled rate limit logs (#21)

fix: suppress canceled rate limit logs (#21) #21

Workflow file for this run

# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/
name: Fly Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
concurrency: deploy-group
environment:
name: production
url: https://pkgsite-mcp.fly.dev
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly
id: deploy
run: |
release="sha-${GITHUB_SHA::12}"
echo "release=${release}" >> "${GITHUB_OUTPUT}"
flyctl deploy --remote-only \
--build-arg VERSION="${release}" \
--build-arg COMMIT=${GITHUB_SHA}
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Notify Sentry of deployment
uses: getsentry/action-release@v3
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
with:
environment: production
release: ${{ steps.deploy.outputs.release }}