Migrate to gitea-actions
All checks were successful
ci / deploy (push) Successful in 3m21s

This commit is contained in:
2025-11-12 16:08:43 +01:00
parent 48fb26046c
commit 9374af6ed5
2 changed files with 30 additions and 14 deletions

View File

@@ -0,0 +1,30 @@
name: ci
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: klmp200/radio-bullshit:latest
- name: Deploy
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: echo ${{ secrets.PASSWORD }} | sudo -S systemctl restart radio-bullshit

View File

@@ -1,14 +0,0 @@
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Build and push
uses: docker/build-push-action@v6
with:
push: false
tags: klmp200/radio-bullshit:latest