Skip to content

Commit

Permalink
force directory in serverless args
Browse files Browse the repository at this point in the history
The struggle with the serverless config living
outside the root of the folder are detailed [here](https://github.com/serverless/github-action/issues/53\#issuecomment-1059839383)
The github action _should_ respect sub folders, though this should force
it run from the correct folder
  • Loading branch information
roc committed May 17, 2022
1 parent 6cf7015 commit 1ce8c42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x]
environment: dev
defaults:
run:
Expand All @@ -31,9 +31,9 @@ jobs:
- name: serverless deploy
uses: serverless/github-action@v3
with:
args: deploy
args: -c "cd ./csv-exporter && serverless deploy --verbose"
entrypoint: /bin/sh
env:
# SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
SLS_DEBUG: 1
AWS_REGION: eu-west-2
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 1ce8c42

Please sign in to comment.