0
0
homer-data/.gitea/workflows/deploy.yml
Denys Konovalov 8729fbc108
All checks were successful
deploy-homer / prod-build (push) Successful in 5s
.gitea/workflows/deploy.yml aktualisiert
2023-12-24 15:07:57 +01:00

26 lines
542 B
YAML

name: deploy-homer
on:
push:
branches:
- main
jobs:
prod-build:
if: gitea.repository == 'gcg/homer-data'
runs-on: act-runner-user
timeout-minutes: 5
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 }}