From e02d2e210c6fb0ea17133d041adfbffde23c8174 Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Thu, 7 Mar 2024 20:52:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AA=8D=E8=A8=BC=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/master.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index e0f13db..b439e89 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -10,7 +10,11 @@ jobs: name: Deploy runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: auth + uses: google-github-actions/auth@v2 + with: + credentials_json: ${{ secrets.GCP_SA_KEY }} - name: deploy uses: google-github-actions/deploy-cloud-functions@main with: @@ -19,6 +23,5 @@ jobs: entry_point: BotEndpoint memory_mb: 128 region: asia-northeast1 - credentials: ${{ secrets.GCP_SA_KEY }} env_vars: BOT_VERIFICATION_TOKEN=${{ secrets.BOT_VERIFICATION_TOKEN}},BOT_ACCESS_TOKEN=${{ secrets.BOT_ACCESS_TOKEN }},BOT_SYSTEM_MESSAGE_CHANNEL_ID=${{ secrets.BOT_SYSTEM_MESSAGE_CHANNEL_ID }},TRAQ_ORIGIN=${{ secrets.TRAQ_ORIGIN }} project_id: ${{ secrets.GCP_PROJECT_ID }} From a5f12c9b462370387daee955c7b21e4d260a392e Mon Sep 17 00:00:00 2001 From: mehm8128 Date: Thu, 7 Mar 2024 21:02:09 +0900 Subject: [PATCH 2/2] =?UTF-8?q?google-github-actions/deploy-cloud-function?= =?UTF-8?q?s=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=82=92v2=E3=81=AB=E5=9B=BA=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/master.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index b439e89..868fb1a 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -16,7 +16,7 @@ jobs: with: credentials_json: ${{ secrets.GCP_SA_KEY }} - name: deploy - uses: google-github-actions/deploy-cloud-functions@main + uses: google-github-actions/deploy-cloud-functions@2 with: name: bot runtime: go113