Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 5e33a97

Browse files
author
Fuss Florian (uid10804)
committed
ci(cicd): delete stack after deployment
1 parent cb28138 commit 5e33a97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ before_install:
2020
install:
2121
- npm config set package-lock false
2222
- make install
23-
2423
jobs:
2524
include:
2625
- script:
@@ -50,6 +49,8 @@ jobs:
5049
- bin/run --version
5150
- bin/run create-stack ../../db.json -i=us-east-1 -d='serverless deploy test' -n=$SLS_NAME -y
5251
- cd $SLS_NAME && aws s3 rm s3://jsonsls-$SLS_NAME-dev/ --recursive && sls remove
52+
after_script:
53+
- aws cloudformation delete-stack --stack-name $SLS_NAME
5354
- stage: release
5455
if: (type = push AND branch = master)
5556
before_script:

0 commit comments

Comments
 (0)