0
0
homer-data/.gitea/workflows/deploy.yml
Denys Konovalov 3f7e48603c
All checks were successful
Homer Bereitstellung / Bereistellung (push) Successful in 4s
.gitea/workflows/deploy.yml aktualisiert
2024-07-07 11:47:58 +02:00

25 lines
541 B
YAML

name: Homer Bereitstellung
on:
push:
branches: [main]
jobs:
deploy:
name: Bereistellung
if: gitea.repository == 'gcg/homer-data'
runs-on: act-runner-user
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Deploy
run: |
rsync -azr --delete ./ /opt/data/homer/
- name: Notification
uses: actions/telegram-action@main
if: always()
with:
chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }}