add the ups workflow

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn 2025-05-13 00:11:10 +03:00
parent 2002de7851
commit 9808c6a543
Signed by: ngn
GPG Key ID: A3654DF5AD9F641D
3 changed files with 34 additions and 2 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

View File

@ -1,6 +1,8 @@
# [ngn.tf] | nitter
# nitter - alternative Twitter frontend
![](https://git.ngn.tf/ngn/nitter/actions/workflows/build-web.yml/badge.svg)
![](https://git.ngn.tf/ngn/nitter/actions/workflows/build-get-account.yml/badge.svg)
![](https://git.ngn.tf/ngn/nitter/actions/workflows/ups.yml/badge.svg)
A fork of the [nitter](https://github.com/PrivacyDevel/nitter) project, with my personal changes.
A fork of the [nitter](https://github.com/PrivacyDevel/nitter) project, with my
personal changes.

5
ups.json Normal file
View File

@ -0,0 +1,5 @@
{
"upstream": "https://github.com/PrivacyDevel/nitter",
"provider": "github",
"commit": "7350155d2d3be85e4c60ad39e744f9125505a668"
}