Skip to content

adding search -- first commit #3

adding search -- first commit

adding search -- first commit #3

name: Deploy to Fly on push to main
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
- uses: superfly/flyctl-actions/setup-flyctl@master
- name: Set Fly secrets
env:
FLY_API_TOKEN: ${{ secrets.FLY_SEARCH_LLM_TOKEN }}
GOOGLE_GENAI_API_KEY: ${{ secrets.GOOGLE_GENAI_API_KEY }}
SERVICE_CRED: ${{ secrets.SERVICE_CRED }}
run: |
flyctl secrets set --stage --app "yral-icpumpsearch" "SERVICE_CRED=${{ secrets.SERVICE_CRED }}"
flyctl secrets set --stage --app "yral-icpumpsearch" "GOOGLE_GENAI_API_KEY=${{ secrets.GOOGLE_GENAI_API_KEY }}"
- name: Deploy a docker container to fly.io
run: flyctl deploy --remote-only