File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1+
12name : Deploy Angular Blog to Cloud Run
23
34on :
45 push :
56 branches :
6- - main # lub inna gałąź, którą używasz do produkcji
7+ - main # or any other branch you use for production
78
89jobs :
910 deploy :
3031 with :
3132 credentials_json : ' ${{ secrets.GCP_SA_KEY }}'
3233
34+ - name : Install Google Cloud SDK
35+ run : |
36+ echo "Installing Google Cloud SDK"
37+ echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
38+ sudo apt-get install -y apt-transport-https ca-certificates
39+ sudo apt-get update && sudo apt-get install -y google-cloud-sdk
40+ gcloud version
41+
3342 - name : Deploy to Cloud Run using Buildpacks
3443 uses : google-github-actions/deploy-cloudrun@v2
3544 with :
36- service : angular-blog # nazwa Twojej usługi Cloud Run
37- region : europe-central2 # dopasuj do regionu
38- source : .
45+ service : angular-blog # your Cloud Run service name
46+ region : europe-central2 # match to your region
47+ source : .
48+
You can’t perform that action at this time.
0 commit comments