From 3eebae19a933f8f69df7a657391b9480f4e888dd Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 17 Oct 2022 20:48:34 +0800 Subject: [PATCH] explicit change dir --- .github/workflows/staging.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 62c8a5e..6ae0ae8 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -22,12 +22,13 @@ jobs: - uses: borales/actions-yarn@v3.0.0 with: - cmd: install - - - name: deploy - uses: Teakowa/serverless-action@master + cmd: --cwd lambdas install + + - name: serverless deploy + uses: serverless/github-action@v3 with: - args: --stage prod deploy + args: -c "cd ./lambdas && serverless deploy" + entrypoint: /bin/sh # deploy: # runs-on: ubuntu-latest