diff --git a/.github/workflows/liat.yml b/.github/workflows/liat.yml index ba2c990..4dba050 100644 --- a/.github/workflows/liat.yml +++ b/.github/workflows/liat.yml @@ -12,6 +12,8 @@ permissions: jobs: create-conda-env: runs-on: ubuntu-latest + env: + AWS_DEFAULT_REGION: eu-west-1 container: image: amazonlinux:2 steps: @@ -68,7 +70,8 @@ jobs: BRANCH=${GITHUB_REF#refs/heads/} BRANCH=${BRANCH//\//_} # Replace / with _ in branch name echo "ls buckets in region:" - aws s3 ls --region eu-west-1 + aws s3 ls echo "ls inside bucket:" - aws s3 ls --region eu-west-1 s3://pheno-ds-github/conda_envs/ - echo "aws s3 cp $HOME/pheno.tar.gz s3://pheno-ds-github/conda_envs/pheno_${BRANCH}_${DATE}.tar.gz" \ No newline at end of file + aws s3 ls s3://pheno-ds-github-cicd-eu-west-1/conda_envs/ + aws s3 cp $HOME/pheno.tar.gz s3://pheno-ds-github-cicd-eu-west-1/conda_envs/pheno_${BRANCH}_${DATE}.tar.gz" + aws s3 ls s3://pheno-ds-github-cicd-eu-west-1/conda_envs/