Compare commits
3 Commits
main
...
e800c18e1e
Author | SHA1 | Date | |
---|---|---|---|
e800c18e1e | |||
6854f8c9d7 | |||
df45c17432 |
@ -1,36 +1,30 @@
|
|||||||
name: docker
|
name: Build and publish the docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: ["custom"]
|
||||||
- 'main'
|
|
||||||
paths-ignore:
|
|
||||||
- 'README.md'
|
|
||||||
- 'LICENSE.txt'
|
|
||||||
- 'docker-compose.example.yml'
|
|
||||||
- 'ups.json'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.ngn.tf
|
REGISTRY: git.ngn.tf
|
||||||
IMAGE: ${{gitea.repository}}
|
IMAGE: ${{gitea.repository}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: "https://github.com/actions/checkout@v4"
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- name: Login to container repo
|
- name: Login to container repo
|
||||||
uses: docker/login-action@v1
|
uses: "https://github.com/docker/login-action@v1"
|
||||||
with:
|
with:
|
||||||
registry: ${{env.REGISTRY}}
|
registry: ${{env.REGISTRY}}
|
||||||
username: ${{gitea.actor}}
|
username: ${{gitea.actor}}
|
||||||
password: ${{secrets.PACKAGES_TOKEN}}
|
password: ${{secrets.PACKAGES_TOKEN}}
|
||||||
|
|
||||||
- name: Build docker image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build . --tag ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
docker build . --tag ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
||||||
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
@ -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
|
|
@ -1,7 +1,5 @@
|
|||||||
# safetwitch - frontend for twitch.tv
|
# [ngn.tf] | safetwitch
|
||||||
|
|
||||||

|

|
||||||

|
|
||||||
|
|
||||||
A fork of the [safetwitch](https://codeberg.org/safetwitch/safetwitch) project,
|
A fork of the [safetwitch](https://codeberg.org/safetwitch/safetwitch) project, with my personal changes.
|
||||||
with my personal changes.
|
|
||||||
|
5098
package-lock.json
generated
5098
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user