From 9808c6a5435194e9cc660fba4bcdd38949df6d6d Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 13 May 2025 00:11:10 +0300 Subject: [PATCH] add the ups workflow Signed-off-by: ngn --- .gitea/workflows/ups.yml | 25 +++++++++++++++++++++++++ README.md | 6 ++++-- ups.json | 5 +++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 .gitea/workflows/ups.yml create mode 100644 ups.json diff --git a/.gitea/workflows/ups.yml b/.gitea/workflows/ups.yml new file mode 100644 index 0000000..d4f2dfe --- /dev/null +++ b/.gitea/workflows/ups.yml @@ -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 diff --git a/README.md b/README.md index 6a8c382..99efd39 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/ups.json b/ups.json new file mode 100644 index 0000000..44f2995 --- /dev/null +++ b/ups.json @@ -0,0 +1,5 @@ +{ + "upstream": "https://github.com/PrivacyDevel/nitter", + "provider": "github", + "commit": "7350155d2d3be85e4c60ad39e744f9125505a668" +}