theocorp_docker_compose/.gitea/workflows/ntfy.yaml
Gaxinto Theodorio 65e74730ad
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 4s
feat: add ntfy service and workflow
2025-05-06 22:54:53 -04:00

25 lines
600 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
paths:
- ntfy/**
env:
app_folder: ntfy
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Execute remote SSH commands using password
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: geezo
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /home/geezo/docker_containers && \
./restart_container.sh ${{ env.app_folder }}