Skip to content

Update Cache / Overfunded #478

Update Cache / Overfunded

Update Cache / Overfunded #478

Workflow file for this run

name: Update Cache / Overfunded
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Python script
run: |
pip3 install python-monerorpc
python3 get_overfunded.py # Replace with the name of your Python script
- name: Add changes
run: |
git add .
git rm *log -f
- name: Commit changes
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "codeberg"
git commit -m "Update files"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}