Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Nov 3, 2024
1 parent 33a72d2 commit 8b8d2f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ jobs:
- uses: google-github-actions/auth@v2
with:
credentials_json: "${{ secrets.GCP_SA_KEY }}"

- uses: google-github-actions/setup-gcloud@v2
- run: gcloud run services update-traffic ${{ env.SERVICE }} --to-tags=${{ needs.prepare.outputs.VERSION }}=100 --project=${{ env.PROJECT_ID }} --region=us-central1

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/deploy_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ jobs:
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }}
ANTHROPIC_API_KEY=${{ secrets.ANTHROPIC_API_KEY }}
ELEVENLABS_API_KEY=${{ secrets.ELEVENLABS_API_KEY }}
BUCKET_NAME=${{ secrets.BUCKET_NAME }}
Expand All @@ -101,6 +100,7 @@ jobs:
message: |
server: ${{ steps.deploy.outputs.url }} (${{ github.event.pull_request.head.sha }})
Docs:
Swagger: ${{ steps.deploy.outputs.url }}/docs
Redoc: ${{ steps.deploy.outputs.url }}/redoc
Expand All @@ -113,7 +113,6 @@ jobs:
- uses: google-github-actions/auth@v2
with:
credentials_json: "${{ secrets.GCP_SA_KEY }}"

- uses: google-github-actions/setup-gcloud@v2
- run: gcloud run services update-traffic ${{ env.SERVICE }} --to-tags=${{ needs.prepare.outputs.VERSION }}=100 --project=${{ env.PROJECT_ID }} --region=us-central1

Expand All @@ -125,7 +124,6 @@ jobs:
- uses: google-github-actions/auth@v2
with:
credentials_json: "${{ secrets.GCP_SA_KEY }}"

- uses: google-github-actions/setup-gcloud@v2
- name: Cleanup older revisions
run: |
Expand Down

0 comments on commit 8b8d2f0

Please sign in to comment.