Files
.profile/.gitea/workflows/update.yaml

22 lines
513 B
YAML

name: Update Profile Stats
on:
schedule:
- cron: '0 * * * *' # Runs every hour
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: python:3.9-slim
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Update README file
run: |
# Check if python3 is there, if not, install it quickly
which python3 || (sudo apt-get update && sudo apt-get install -y python3)
python3 update_profile.py