.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:
|
||||
- main
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /opt/data/homer
|
||||
|
||||
jobs:
|
||||
prod-build:
|
||||
if: gitea.repository == 'gcg/homer-data'
|
||||
runs-on: act-runner-user
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: pull
|
||||
- name: Checkout
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
|
||||
- name: Deploy
|
||||
run: |
|
||||
git pull
|
||||
- name: notification
|
||||
rsync -azr --delete ./ /opt/data/homer/
|
||||
|
||||
- name: Notification
|
||||
uses: actions/telegram-action@main
|
||||
if: always()
|
||||
with:
|
Loading…
x
Reference in New Issue
Block a user