Skip to content

Commit ce146d8

Browse files
Fix heroku remote setup and restore model names
1 parent fd7398a commit ce146d8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/weekly-index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
CHROMA_PATH: chroma
1818
CONNECTION_STRING: ${{ secrets.DATABASE_URL }}
1919
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
20-
GEMINI_MODEL: ${{ vars.GEMINI_MODEL || 'gemini-2.5-flash-preview-04-17' }}
21-
GEMINI_FAST_MODEL: ${{ vars.GEMINI_FAST_MODEL || 'gemini-2.5-flash-preview-04-17' }}
20+
GEMINI_MODEL: ${{ vars.GEMINI_MODEL || 'gemini-3-flash-preview' }}
21+
GEMINI_FAST_MODEL: ${{ vars.GEMINI_FAST_MODEL || 'gemini-3-flash-preview' }}
2222
GEMINI_EMBEDDING_MODEL: ${{ vars.GEMINI_EMBEDDING_MODEL || 'gemini-embedding-2-preview' }}
2323

2424
steps:
@@ -27,12 +27,12 @@ jobs:
2727
with:
2828
ref: main
2929

30-
# Authenticate the heroku remote so we can read/write chroma/ storage
31-
- name: Authenticate Heroku remote
30+
# Add the heroku remote (it doesn't exist in a fresh Actions checkout)
31+
- name: Add Heroku remote
3232
env:
3333
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
3434
run: |
35-
git remote set-url heroku "https://heroku:$HEROKU_API_KEY@git.heroku.com/physlibsearch.git"
35+
git remote add heroku "https://heroku:$HEROKU_API_KEY@git.heroku.com/physlibsearch.git"
3636
3737
# Restore chroma/ and the SHA tracker from the heroku git remote
3838
- name: Restore ChromaDB and SHA tracker

0 commit comments

Comments
 (0)