0
0
homer-data/.gitea/workflows/copy.yaml
Denys Konovalov aef7213228
All checks were successful
copy-homer / prod-build (push) Successful in 14s
.gitea/workflows/copy.yaml aktualisiert
2023-10-21 21:51:06 +02:00

24 lines
578 B
YAML

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