From 611bfcf952171b587838fee9db39ae709b992196 Mon Sep 17 00:00:00 2001 From: maxmwang Date: Thu, 29 Aug 2024 21:39:22 -0700 Subject: [PATCH] change ssh user to ga from root --- .github/workflows/cd-dev.yaml | 2 +- .github/workflows/cd-prod.yaml | 2 +- .github/workflows/cd-stage.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd-dev.yaml b/.github/workflows/cd-dev.yaml index c4e59cf11..4dde042ad 100644 --- a/.github/workflows/cd-dev.yaml +++ b/.github/workflows/cd-dev.yaml @@ -149,7 +149,7 @@ jobs: uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.SSH_HOST }} - username: root + username: ga key: ${{ secrets.SSH_KEY }} script: | cd ./infra diff --git a/.github/workflows/cd-prod.yaml b/.github/workflows/cd-prod.yaml index 109ee1a0d..021bc3b6f 100644 --- a/.github/workflows/cd-prod.yaml +++ b/.github/workflows/cd-prod.yaml @@ -116,7 +116,7 @@ jobs: uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.SSH_HOST }} - username: root + username: ga key: ${{ secrets.SSH_KEY }} script: | cd ./infra diff --git a/.github/workflows/cd-stage.yaml b/.github/workflows/cd-stage.yaml index 59f33943b..81ed502f0 100644 --- a/.github/workflows/cd-stage.yaml +++ b/.github/workflows/cd-stage.yaml @@ -107,7 +107,7 @@ jobs: uses: appleboy/ssh-action@v1.0.3 with: host: ${{ secrets.SSH_HOST }} - username: root + username: ga key: ${{ secrets.SSH_KEY }} script: | cd ./infra