Skip to content

GIF Wiadomości

GIF Wiadomości #519

name: GIF Wiadomości
on:
schedule:
- cron: '5 22 * * *'
workflow_dispatch:
jobs:
build_gif_wiadomosci:
runs-on: ubuntu-latest
name: GIF Wiadomości
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 Wiadomości
ARTICLE_TYPE: Wiadomość
FEED_URL: https://www.gov.pl/web/gif/wiadomosci
CHANNEL_URL: ${{ env.CHANNEL_URL }}
TEST_CHANNEL_URL: ${{ env.TEST_CHANNEL_URL }}