Skip to content

Script

Script #172

Workflow file for this run

name: Script
on:
schedule:
- cron: "0 15 * * 1"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content to github runner.
- name: PHP Runner
uses: franzliedke/[email protected]
- name: execute php script # run the run.py to get the latest data
run: |
php run.php
- name: commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "fbiego"
git add -A
git commit -m "update data" -a
- name: push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main