File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1414 run-staging-workflow :
1515 runs-on : ubuntu-latest
1616 env :
17- ZENML_HOST : ${{ secrets.ZENML_PROJECTS_HOST }}
17+ ZENML_STORE_URL : ${{ secrets.ZENML_PROJECTS_HOST }}
1818 ZENML_API_KEY : ${{ secrets.ZENML_PROJECTS_API_KEY }}
1919 ZENML_PRODUCTION_STACK : b3951d43-0fb2-4d32-89c5-3399374e7c7e # Set this to your production stack ID
2020 ZENML_GITHUB_SHA : ${{ github.event.pull_request.head.sha }}
4646 working-directory : ./llm-complete-guide
4747 run : |
4848 zenml init
49- zenml connect --url $ZENML_HOST --api-key $ZENML_API_KEY
49+ zenml connect --url $ZENML_STORE_URL --api-key $ZENML_API_KEY
5050
5151 - name : Set stack (Production)
5252 working-directory : ./llm-complete-guide
Original file line number Diff line number Diff line change 1212 run-staging-workflow :
1313 runs-on : ubuntu-latest
1414 env :
15- ZENML_HOST : ${{ secrets.ZENML_PROJECTS_HOST }}
15+ ZENML_STORE_URL : ${{ secrets.ZENML_PROJECTS_HOST }}
1616 ZENML_API_KEY : ${{ secrets.ZENML_PROJECTS_API_KEY }}
1717 ZENML_STAGING_STACK : 67166d73-a44e-42f9-b67f-011e9afab9b5 # Set this to your staging stack ID
1818 ZENML_GITHUB_SHA : ${{ github.event.pull_request.head.sha }}
4242 working-directory : ./llm-complete-guide
4343 run : |
4444 zenml init
45- zenml connect --url $ZENML_HOST --api-key $ZENML_API_KEY
45+ zenml connect --url $ZENML_STORE_URL --api-key $ZENML_API_KEY
4646
4747 - name : Set stack (Staging)
4848 working-directory : ./llm-complete-guide
Original file line number Diff line number Diff line change 1111
1212secret = Client ().get_secret ("llm-complete" )
1313
14- ZENML_API_TOKEN = secret . secret_values [ "zenml_api_token" ]
15- ZENML_STORE_URL = secret . secret_values [ "zenml_store_url" ]
14+ ZENML_API_TOKEN = os . environ . get ( "ZENML_API_TOKEN" )
15+ ZENML_STORE_URL = os . environ . get ( "ZENML_STORE_URL" )
1616SPACE_USERNAME = os .environ .get ("ZENML_HF_USERNAME" , "zenml" )
1717SPACE_NAME = os .environ .get ("ZENML_HF_SPACE_NAME" , "llm-complete-guide-rag" )
1818
You can’t perform that action at this time.
0 commit comments