Skip to content

Commit

Permalink
fix: change app name
Browse files Browse the repository at this point in the history
  • Loading branch information
RRRHAN committed Mar 16, 2024
1 parent 1b94186 commit 7823fe2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@v1
with:
version: '333.0.0'
Expand All @@ -21,12 +21,12 @@ jobs:
gcloud components install beta
- run: |
cd ./back-end
docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/your-app-name .
docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/go-playground .
- run: |
cd ./back-end
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/your-app-name
docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/go-playground
- run: |
cd ./back-end
gcloud beta run deploy your-app-name --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/your-app-name --platform managed --region your-region
gcloud beta run deploy go-playground --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/go-playground --platform managed --region your-region
env:
GOOGLE_CLOUD_PROJECT: ${{ secrets.GCP_PROJECT_ID }}

0 comments on commit 7823fe2

Please sign in to comment.