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 94920c5 commit fa4cac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-on-merge-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Set Fly secrets
run: |
flyctl secrets set --stage --app "yral-nsfw-classification" "SERVICE_CRED=$SERVICE_CRED"
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 }}
Expand Down
2 changes: 1 addition & 1 deletion ping_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
with open(token_fpath, 'r') as f:
_JWT_TOKEN = f.read()

server_url = 'yral-nsfw-classification.fly.dev:443'
server_url = 'prod-yral-nsfw-classification.fly.dev:443'
# Load the private key from a path specified in an environment variable

def run():
Expand Down

0 comments on commit fa4cac9

Please sign in to comment.