Skip to content

Commit

Permalink
Fix ci cd (#34)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix2

* fix3

* fix3

* fix4

* fix5

* fix6

* fix6

* fix_final

---------

Co-authored-by: Maria Gorodetski <[email protected]>
  • Loading branch information
MariaGorodetski and Maria Gorodetski authored Nov 27, 2024
1 parent 001d8c6 commit 5ce0ada
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/conda_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master


permissions:
id-token: write
Expand All @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 5ce0ada

Please sign in to comment.