From 5ce0adab4c55fa1b71f4d5fe6ebefa1d27149216 Mon Sep 17 00:00:00 2001 From: mariag <33653146+MariaGorodetski@users.noreply.github.com> Date: Wed, 27 Nov 2024 04:45:17 +0200 Subject: [PATCH] Fix ci cd (#34) * fix * fix * fix2 * fix3 * fix3 * fix4 * fix5 * fix6 * fix6 * fix_final --------- Co-authored-by: Maria Gorodetski --- .github/workflows/conda_env.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda_env.yml b/.github/workflows/conda_env.yml index 50f4259..f62d75e 100644 --- a/.github/workflows/conda_env.yml +++ b/.github/workflows/conda_env.yml @@ -4,6 +4,7 @@ on: push: branches: - master + permissions: id-token: write @@ -15,7 +16,7 @@ jobs: env: AWS_DEFAULT_REGION: eu-west-1 container: - image: amazonlinux:2 + image: amazonlinux:2023 steps: - name: Install tar (for code checkout) run: yum install -y tar gzip @@ -68,4 +69,4 @@ jobs: DATE=$(date +%Y-%m-%d-%H-%S) BRANCH=${GITHUB_REF#refs/heads/} BRANCH=${BRANCH//\//_} # Replace / with _ in branch name - aws s3 cp $HOME/pheno.tar.gz "s3://pheno-ds-github-cicd-${{ env.AWS_DEFAULT_REGION }}/conda_envs/${BRANCH}_${DATE}.tar.gz" + aws s3 cp $HOME/pheno.tar.gz "s3://pheno-ds-github-cicd-${{ env.AWS_DEFAULT_REGION }}/conda_envs/${BRANCH}_${DATE}.tar.gz" \ No newline at end of file