Skip to content

Commit 345a0b2

Browse files
committed
fix ci/cd
1 parent 4d331a4 commit 345a0b2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/github-actions.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,11 @@ jobs:
9494
git clone https://github.com/Dema-koder/Automating-route-selection.git
9595
cd Automating-route-selection
9696
fi
97-
98-
# Создание .env
99-
echo "BOT_TOKEN=$BOT_TOKEN" > .env
100-
echo "GPT_TOKEN=$GPT_TOKEN" >> .env
97+
98+
cat > .env <<EOL
99+
BOT_TOKEN=$BOT_TOKEN
100+
GPT_TOKEN=$GPT_TOKEN
101+
EOL
101102
102103
# Запуск приложения
103104
sudo docker-compose down || true

0 commit comments

Comments
 (0)