Alert temp #8793
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: Alert temp | |
on: | |
schedule: | |
- cron: "*/15 11-20 * * 1-5" | |
jobs: | |
alert-temp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install pipenv | |
run: pip install -r requirements.txt | |
- name: Install dependecies | |
run: pipenv sync | |
- name: Run app | |
run: pipenv run python temperatura.py | |
env: | |
client_id: ${{ secrets.client_id }} | |
client_secret: ${{ secrets.client_secret }} | |
userid: ${{ secrets.userid }} | |
topic: ${{ secrets.topic }} | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} |