Hourly weather update #1042
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
on: | |
schedule: | |
- cron: '0 12 * * *'#'0 * * * *' # run 12 noon# # Run the script every hour | |
name: Hourly weather update | |
jobs: | |
create-and-push-figures: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository content | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Execute Python scripts | |
run: | | |
python main.py | |
- name: Execute gcp script | |
run: | | |
python maincp.py | |