0
0

.gitea/workflows/deploy.yaml aktualisiert
All checks were successful
deploy-homer / prod-build (push) Successful in 0s

This commit is contained in:
Denys Konovalov 2023-12-07 20:47:12 +01:00
parent c25a8978f7
commit c45c5cd392

@ -1,21 +1,23 @@
name: copy-homer name: deploy-homer
on: on:
push: push:
branches: branches:
- main - main
defaults:
run:
working-directory: /opt/data/homer
jobs: jobs:
prod-build: prod-build:
if: gitea.repository == 'gcg/homer-data' if: gitea.repository == 'gcg/homer-data'
runs-on: act-runner-user runs-on: act-runner-user
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: clone - name: pull
uses: https://github.com/actions/checkout@v4
- name: deploy
run: | run: |
rsync -azr --delete ./ /opt/data/homer/ git pull
- name: notification - name: notification
uses: actions/telegram-action@main uses: actions/telegram-action@main
if: always() if: always()