Weather check #71214
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: Weather check | |
on: | |
schedule: | |
# Run every day at 3:00 UTC (5:00 CEST) | |
- cron: '0 3 * * *' | |
workflow_dispatch: | |
jobs: | |
run: | |
runs-on: ubuntu-20.04 | |
env: | |
ACTION_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
steps: | |
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | |
- uses: actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6 | |
with: | |
python-version: '3.8.5' | |
- name: Run main application | |
env: | |
SENDER_EMAIL: ${{ secrets.SENDER_EMAIL }} | |
SENDER_PASSWORD: ${{ secrets.SENDER_PASSWORD }} | |
RECEIVERS: ${{ secrets.RECEIVERS }} | |
run: python3 main.py |