Skip to content

Commit 091fed3

Browse files
authored
Update update-subscriptions.yml
1 parent 856cd70 commit 091fed3

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/update-subscriptions.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020

2121
- run: pip install aiohttp
2222

23-
- working-directory: ./source
24-
run: python parser.py
23+
- name: Запуск парсера
24+
working-directory: ./source
25+
run: |
26+
python parser.py
27+
# Копируем файлы в корневую папку deploy
28+
mkdir -p ../deploy/subscriptions
29+
cp -r deploy/* ../deploy/ 2>/dev/null || true
2530
2631
- name: Коммит и пуш
2732
run: |
@@ -35,3 +40,4 @@ jobs:
3540
git pull --rebase origin main
3641
git push origin main
3742
fi
43+

0 commit comments

Comments
 (0)