Merge branch 'feature/upd_cicd_func'
This commit is contained in:
commit
f04302a9f2
28
.github/workflows/deploy_to_gcp.yml
vendored
28
.github/workflows/deploy_to_gcp.yml
vendored
@ -2,27 +2,35 @@ name: Gitea Deploy to GCP
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- deploy-prd
|
- deploy-prd
|
||||||
- deploy-dev
|
- deploy-dev
|
||||||
paths:
|
|
||||||
- 'src/**'
|
|
||||||
- 'terraform/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
gcp-deploy:
|
||||||
name: Deploy to GCP
|
name: Deploy to GCP
|
||||||
runs-on: gcloud-tf
|
runs-on: gcloud-tf
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Check Deploy Tools
|
# checkout:
|
||||||
run: |
|
# name: Checkout code
|
||||||
gcloud --version
|
# runs-on: ubuntu-latest
|
||||||
terraform --version
|
# steps:
|
||||||
|
# - name: Checkout code
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# gcp-deploy:
|
||||||
|
# name: Deploy to GCP
|
||||||
|
# runs-on: gcloud-tf
|
||||||
|
# steps:
|
||||||
|
# - name: Check Deploy Tools
|
||||||
|
# run: |
|
||||||
|
# gcloud --version
|
||||||
|
# terraform --version
|
||||||
|
# ls -la
|
||||||
|
|
||||||
|
|
||||||
# - name: Set up Cloud SDK
|
# - name: Set up Cloud SDK
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user