improved notification by creating and removing notification list #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Fly Deployment on Merge | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
jobs: | |
deploy_when_merged: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
concurrency: deploy-group | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: superfly/flyctl-actions/setup-flyctl@master | |
with: | |
version: 0.2.55 | |
- run: flyctl deploy --dockerfile Dockerfile.production | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |