add thunderbird config
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
geezo 2025-05-23 01:02:30 +01:00
parent d9eae22bab
commit 270f801b60

View File

@ -0,0 +1,30 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
workflow_dispatch:
push:
paths:
- thunderbird/**
env:
app_folder: thunderbird
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 && \
if ./restart_container.sh ${{ env.app_folder }}; then
./send_notification.sh -m "Successfully updated ${{ env.app_folder }} container"
else
./send_notification.sh -m "Failed to update ${{ env.app_folder }} container"
fi