From 8e4db012b7d28b14fe914a87fb1aa9cbbe0dcf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Gouv=C3=AAa?= Date: Fri, 27 Sep 2024 11:59:16 -0300 Subject: [PATCH] Reverting test changes --- .github/workflows/new_posts.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/new_posts.yml b/.github/workflows/new_posts.yml index 5636d89..fce3f29 100644 --- a/.github/workflows/new_posts.yml +++ b/.github/workflows/new_posts.yml @@ -1,11 +1,8 @@ name: Generate New Posts on: - push: - branches: - - master schedule: - - cron: '0 0 * * *' + - cron: '0 6 * * *' # 3 da manhã no Brasil jobs: post: @@ -21,7 +18,7 @@ jobs: run: | python -m pip install --upgrade pip if [ -f python/requirements.txt ]; then pip install -r python/requirements.txt; fi - - name: Run scrapy for Electrek + - name: Run scrapy for all sources run: | cd python/scraper/eletrificado scrapy crawl electrek -O ../../electrek.json