add ups workflow and config
All checks were successful
docker / docker (push) Successful in 1m50s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-05-12 23:19:55 +03:00
parent a01a4febf5
commit 50784a6ab5
4 changed files with 47 additions and 9 deletions

25
.gitea/workflows/ups.yml Normal file
View File

@ -0,0 +1,25 @@
name: ups
on:
schedule:
- cron: "@weekly"
jobs:
ups:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -y
sudo apt install -y python3 python3-build python3-requests make
- name: Install ups
run: |
git clone https://git.ngn.tf/ngn/ups && cd ups
make && make install
- name: Run ups
run: PATH=~/.local/bin:$PATH ups-check