3 Commits

Author SHA1 Message Date
e800c18e1e chore(deps): update dependency @types/node to v18.19.75 2025-02-05 17:02:21 +00:00
ngn
6854f8c9d7 Merge pull request 'chore(deps): update dependency autoprefixer to v10.4.20' (#7) from renovate/autoprefixer-10.x-lockfile into custom
All checks were successful
Build and publish the docker image / build (push) Successful in 1m46s
Reviewed-on: #7
2025-02-05 19:09:15 +03:00
df45c17432 chore(deps): update dependency autoprefixer to v10.4.20 2025-02-05 03:03:01 +00:00
5 changed files with 4961 additions and 193 deletions

View File

@ -1,36 +1,30 @@
name: docker
name: Build and publish the docker image
on:
push:
branches:
- 'main'
paths-ignore:
- 'README.md'
- 'LICENSE.txt'
- 'docker-compose.example.yml'
- 'ups.json'
branches: ["custom"]
env:
REGISTRY: git.ngn.tf
IMAGE: ${{gitea.repository}}
jobs:
docker:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: "https://github.com/actions/checkout@v4"
with:
submodules: true
- name: Login to container repo
uses: docker/login-action@v1
uses: "https://github.com/docker/login-action@v1"
with:
registry: ${{env.REGISTRY}}
username: ${{gitea.actor}}
password: ${{secrets.PACKAGES_TOKEN}}
- name: Build docker image
- name: Build image
run: |
docker build . --tag ${{env.REGISTRY}}/${{env.IMAGE}}:latest
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:latest

View File

@ -1,25 +0,0 @@
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,7 +1,5 @@
# safetwitch - frontend for twitch.tv
# [ngn.tf] | safetwitch
![](https://git.ngn.tf/ngn/safetwitch/actions/workflows/docker.yml/badge.svg)
![](https://git.ngn.tf/ngn/safetwitch/actions/workflows/ups.yml/badge.svg)
![](https://git.ngn.tf/ngn/safetwitch/actions/workflows/build.yml/badge.svg)
A fork of the [safetwitch](https://codeberg.org/safetwitch/safetwitch) project,
with my personal changes.
A fork of the [safetwitch](https://codeberg.org/safetwitch/safetwitch) project, with my personal changes.

5098
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
{
"upstream": "https://codeberg.org/safetwitch/safetwitch",
"provider": "gitea",
"commit": "f274ba527dd9ad9017ce4c97dc62622582ab82c3"
}