From 20518cb3d47d006ee323d6a03fb3e8c11fb2f6f0 Mon Sep 17 00:00:00 2001 From: ichiki-mfw Date: Tue, 16 Jul 2024 11:08:29 +0900 Subject: [PATCH] Deploy test --- .github/workflows/deploy.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 150f828..bc8ad34 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -23,9 +23,15 @@ jobs: - name: Install Serverless utils run: sudo npm i -g @serverless/utils@6.7.0 - name: Install simple-git # https://github.com/serverless/serverless/issues/12418#issuecomment-2048920297 - run: sudo npm i -g simple-git@3.22.0 + run: | + CURRENT_DIR=$(pwd) + echo "::set-output name=current_dir::$CURRENT_DIR" + cd /usr/local/lib/node_modules/serverless + sudo npm i -g simple-git@3.22.0 - name: Serverless deploy - run: make deploy + run: | + cd ${{steps.checkout.outputs.current_dir}} + make deploy env: AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}