diff --git a/.github/workflows/deploy-on-merge-to-main.yml b/.github/workflows/deploy-on-merge-to-main.yml index 11a4acf..9c56e10 100644 --- a/.github/workflows/deploy-on-merge-to-main.yml +++ b/.github/workflows/deploy-on-merge-to-main.yml @@ -23,6 +23,10 @@ jobs: env: FLY_API_TOKEN: ${{ secrets.FLY_IO_DEPLOY_TOKEN }} SERVICE_CRED: ${{ secrets.GOOGLE_CLOUD_EVENTS_BQ_SERVICE_ACCOUNT_KEY_JSON }} + - name: Create Fly app + run: flyctl apps create prod-yral-nsfw-classification + env: + FLY_API_TOKEN: ${{ secrets.FLY_IO_DEPLOY_TOKEN }} - name: Deploy a docker container to fly.io run: flyctl deploy --remote-only --config fly.toml env: