Skip to content

Commit

Permalink
adding Image APIs and deploying moving to prod fly account
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-dhanwant-yral committed Nov 7, 2024
1 parent afffc33 commit 23922e8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy-on-merge-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
with:
submodules: recursive
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Create Fly app
run: fly apps create prod-yral-nsfw-classification
env:
FLY_API_TOKEN: ${{ secrets.FLY_IO_DEPLOY_TOKEN }}
- name: Set Fly secrets
run: |
flyctl secrets set --stage --app "prod-yral-nsfw-classification" "SERVICE_CRED=$GOOGLE_CLOUD_EVENTS_BQ_SERVICE_ACCOUNT_KEY_JSON"
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:
Expand Down

0 comments on commit 23922e8

Please sign in to comment.