-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8701ad2
commit 20518cb
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,15 @@ jobs: | |
- name: Install Serverless utils | ||
run: sudo npm i -g @serverless/[email protected] | ||
- name: Install simple-git # https://github.com/serverless/serverless/issues/12418#issuecomment-2048920297 | ||
run: sudo npm i -g [email protected] | ||
run: | | ||
CURRENT_DIR=$(pwd) | ||
echo "::set-output name=current_dir::$CURRENT_DIR" | ||
cd /usr/local/lib/node_modules/serverless | ||
sudo npm i -g [email protected] | ||
- 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}} | ||
|