Changed streamlit step to be triggered automatically

This commit is contained in:
Umang Mistry
2024-03-06 16:39:29 -06:00
parent 80688cbc3b
commit ba0fbc6d4c
+1 -1
View File
@@ -42,7 +42,7 @@ definitions:
- export AWS_SESSION_TOKEN=$(echo $STS_OUTPUT | jq -r '.Credentials.SessionToken')
- aws sts get-caller-identity
- aws ssm send-command --document-name "AWS-RunShellScript" --instance-ids $DEV_INSTANCE_ID --region $AWS_DEFAULT_REGION --parameters commands='["cd /home/ubuntu/streamlit","(if [ -d doczy.ai ]; then cd doczy.ai && git fetch && git pull; else git clone git@bitbucket.org:aarete/doczy.ai.git; fi)"]'
trigger: manual # uncomment after testing
trigger: automatic # uncomment after testing
- step: &airflow_dags_deploy
name: "Deploy Airflow DAGs to S3 bucket"
image: python:3.8