Skip to content

Commit c94801a

Browse files
Modify conda initialization in deploy workflow
Updated conda initialization command to use 'eval' for compatibility.
1 parent 654c137 commit c94801a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
echo "🚀 Starting deployment of generation_consumer workers"
1515
1616
cd /home/ubuntu/PycharmProjects/modic_ai/
17-
conda init
17+
eval "$(conda shell.bash hook)"
1818
conda activate worker
1919
2020
git fetch origin main
@@ -32,3 +32,4 @@ jobs:
3232
echo "All workers restarted successfully!"
3333
3434
35+

0 commit comments

Comments
 (0)