Skip to content

Commit

Permalink
Github actions: deploy to production
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao authored Sep 14, 2024
1 parent efad244 commit 480c693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-streamlit-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# Step 2: Authenticate GCP
- name: Authenticate GCP
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
# Step 7: Deploy to Cloud Run using the Artifact Registry image
- name: Deploy to Cloud Run
run: |
gcloud run deploy streamlit-app-testing \
gcloud run deploy streamlit-app \
--image ${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/$REPOSITORY/$IMAGE:$GITHUB_SHA \
--platform managed \
--region ${{ secrets.GCP_REGION }} \
Expand Down

0 comments on commit 480c693

Please sign in to comment.