From ba0fbc6d4ccea2b8de7a30beaa18b0a02640938f Mon Sep 17 00:00:00 2001 From: Umang Mistry Date: Wed, 6 Mar 2024 16:39:29 -0600 Subject: [PATCH] Changed streamlit step to be triggered automatically --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 127e53b..f5a4e51 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -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