.gitea/workflows/deploy.yml aktualisiert
All checks were successful
deploy-homer / prod-build (push) Successful in 5s
All checks were successful
deploy-homer / prod-build (push) Successful in 5s
This commit is contained in:
parent
9ff0f3890e
commit
8729fbc108
@ -5,20 +5,20 @@ on:
|
|||||||
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: pull
|
- name: Checkout
|
||||||
|
uses: https://github.com/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Deploy
|
||||||
run: |
|
run: |
|
||||||
git pull
|
rsync -azr --delete ./ /opt/data/homer/
|
||||||
- name: notification
|
|
||||||
|
- name: Notification
|
||||||
uses: actions/telegram-action@main
|
uses: actions/telegram-action@main
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
Loading…
x
Reference in New Issue
Block a user