Skip to content

Commit

Permalink
Allan/test gh actions fix (#361)
Browse files Browse the repository at this point in the history
* changed to v4

* update

* revereted deploy step

* revereted deploy step

* test master yml file

* test serverlessv4

* test remove global download
  • Loading branch information
AllanT102 authored Jul 16, 2024
1 parent f285216 commit 0b2f494
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
- name: Install Serverless CLI and dependencies
run: |
sudo npm i -g serverless@4
npm ci
npm ci
npm i serverless@4
- name: 'Deploy Dev'
if: github.ref == 'refs/heads/dev'
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
cd services
for DIR in *; do
(cd $DIR && sls deploy --conceal \
(cd $DIR && npx sls deploy --conceal \
--STRIPE_DEV_CANCEL ${{ secrets.STRIPE_DEV_CANCEL }} \
--STRIPE_DEV_ENDPOINT ${{ secrets.STRIPE_DEV_ENDPOINT }} \
--STRIPE_PROD_CANCEL ${{ secrets.STRIPE_PROD_CANCEL }} \
Expand All @@ -73,7 +73,7 @@ jobs:
run: |
cd services
for DIR in *; do
(cd $DIR && sls deploy --stage prod --conceal \
(cd $DIR && npx sls deploy --stage prod --conceal \
--STRIPE_DEV_CANCEL ${{ secrets.STRIPE_DEV_CANCEL }} \
--STRIPE_DEV_ENDPOINT ${{ secrets.STRIPE_DEV_ENDPOINT }} \
--STRIPE_PROD_CANCEL ${{ secrets.STRIPE_PROD_CANCEL }} \
Expand Down

0 comments on commit 0b2f494

Please sign in to comment.