Skip to content

GIS Ostrzeżenia

GIS Ostrzeżenia #1124

name: GIS Ostrzeżenia
on:
schedule:
- cron: '5 22 * * *'
workflow_dispatch:
jobs:
build_gis_ostrzezenia:
runs-on: ubuntu-latest
name: GIS Ostrzeżenia
env:
TEST_CHANNEL_URL: "@gpi_health_check"
CHANNEL_URL: "@gpi_gis"
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: GIS Ostrzeżenia
ARTICLE_TYPE: Ostrzeżenie
FEED_URL: https://www.gov.pl/web/gis/ostrzezenia
CHANNEL_URL: ${{ env.CHANNEL_URL }}
TEST_CHANNEL_URL: ${{ env.TEST_CHANNEL_URL }}