add ups workflow and config
Some checks failed
docker / docker (push) Failing after 1m43s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-05-12 23:08:30 +03:00
parent 02e9936059
commit f71f0e9ab7
4 changed files with 47 additions and 11 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