Compare commits
2 Commits
570c8482b0
...
270f801b60
| Author | SHA1 | Date | |
|---|---|---|---|
| 270f801b60 | |||
| d9eae22bab |
30
.gitea/workflows/thunderbird.yaml
Normal file
30
.gitea/workflows/thunderbird.yaml
Normal 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
|
||||||
8
thunderbird/docker-compose.yml
Normal file
8
thunderbird/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
thunderbird:
|
||||||
|
image: jlesage/thunderbird
|
||||||
|
ports:
|
||||||
|
- "1029:5800"
|
||||||
|
volumes:
|
||||||
|
- "./thunderbird:/config:rw"
|
||||||
Loading…
Reference in New Issue
Block a user