Skip to content

keyfigures

keyfigures #517

Workflow file for this run

name: keyfigures
on:
workflow_dispatch:
schedule:
- cron: "00 6 * * *" #runs at 06:00 UTC
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner.
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.11' #install the python needed
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: execute py script
run: python keyfigureselectricalinstallations36kv.py
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add -A
git commit -m "update data" -a --allow-empty
- name: push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main