From e8eba504b3512bd9096fcce6fe2337a867425dbe Mon Sep 17 00:00:00 2001 From: "ry.yamafuji" Date: Fri, 5 Dec 2025 20:44:49 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_to_gcp.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/deploy_to_gcp.yml b/.github/workflows/deploy_to_gcp.yml index 051d0dd..09c4950 100644 --- a/.github/workflows/deploy_to_gcp.yml +++ b/.github/workflows/deploy_to_gcp.yml @@ -2,14 +2,10 @@ name: Gitea Deploy to GCP on: workflow_dispatch: - pull_request: branches: - deploy-prd - deploy-dev - paths: - - 'src/**' - - 'terraform/**' jobs: deploy: From ed2de27a8fea9f270fe903e7ce1aa7cc10b6c833 Mon Sep 17 00:00:00 2001 From: "ry.yamafuji" Date: Fri, 5 Dec 2025 20:48:35 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy_to_gcp.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_to_gcp.yml b/.github/workflows/deploy_to_gcp.yml index 09c4950..ecec961 100644 --- a/.github/workflows/deploy_to_gcp.yml +++ b/.github/workflows/deploy_to_gcp.yml @@ -8,17 +8,23 @@ on: - deploy-dev jobs: - deploy: - name: Deploy to GCP - runs-on: gcloud-tf + checkout: + name: Checkout code + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 + gcp-deploy: + name: Deploy to GCP + runs-on: gcloud + steps: - name: Check Deploy Tools + runs-on: ubuntu-latest run: | gcloud --version terraform --version + ls -la # - name: Set up Cloud SDK From a73c68580093dadad02e9e2c87a8c08506a486fe Mon Sep 17 00:00:00 2001 From: "ry.yamafuji" Date: Fri, 5 Dec 2025 20:51:39 +0900 Subject: [PATCH 3/3] Test --- .github/workflows/deploy_to_gcp.yml | 34 +++++++++++++++++------------ 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy_to_gcp.yml b/.github/workflows/deploy_to_gcp.yml index ecec961..2cf6a5a 100644 --- a/.github/workflows/deploy_to_gcp.yml +++ b/.github/workflows/deploy_to_gcp.yml @@ -8,23 +8,29 @@ on: - deploy-dev jobs: - checkout: - name: Checkout code - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - gcp-deploy: name: Deploy to GCP - runs-on: gcloud + runs-on: gcloud-tf steps: - - name: Check Deploy Tools - runs-on: ubuntu-latest - run: | - gcloud --version - terraform --version - ls -la + - name: Checkout code + uses: actions/checkout@v4 + + # checkout: + # name: Checkout code + # runs-on: ubuntu-latest + # 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