Skip to content

Extract Weather Reports Data #704

Extract Weather Reports Data

Extract Weather Reports Data #704

Workflow file for this run

name: Extract Weather Reports Data
on:
schedule:
- cron: "35 * * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
download-weather-report:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Run script
run: |
chmod +x script.sh
./script.sh
- name: Configure Git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Commit and push changes
run: |
git add result.log
git commit -m "Update weather report log [skip ci]" || echo "No changes to commit"
git push