GIF Decyzje #1047
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GIF Decyzje | |
on: | |
schedule: | |
- cron: '5 22 * * *' | |
workflow_dispatch: | |
jobs: | |
build_gis_ostrzezenia: | |
runs-on: ubuntu-latest | |
name: GIF Decyzje | |
env: | |
TEST_CHANNEL_URL: "@gpi_health_check" | |
CHANNEL_URL: "@gpi_gif" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: install requirements | |
run: pip install -r requirements.txt | |
- name: python script run | |
run: | | |
python gpi.py | |
env: | |
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} | |
GIVEN_DATE: today | |
FEED_NAME: GIF Decyzje | |
ARTICLE_TYPE: Decyzja | |
FEED_URL: https://rdg.ezdrowie.gov.pl | |
CHANNEL_URL: ${{ env.CHANNEL_URL }} | |
TEST_CHANNEL_URL: ${{ env.TEST_CHANNEL_URL }} |