Skip to content

refresh config_files (gpf) #118

refresh config_files (gpf)

refresh config_files (gpf) #118

Workflow file for this run

name: refresh config_files (gpf)
on:
workflow_dispatch:
schedule:
- cron: "05 12 * * *"
permissions: write-all
jobs:
refresh_config:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3 # checkout the repository content to github runner.
with:
ref: 'new-url'
- name: setup python
uses: actions/setup-python@v4
with:
python-version: 3.8 #install the python needed
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: execute py script
run: |
cat keys.txt | xargs -L 1 python main.py
python main.py full
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "refresh config files"
git push