0
0

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

This commit is contained in:
Denys Konovalov 2023-10-21 21:51:06 +02:00
parent 4562f98624
commit aef7213228

@ -5,18 +5,14 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ gitea.workflow }}-${{ gitea.ref }}
cancel-in-progress: true
jobs: jobs:
prod-build: prod-build:
if: gitea.repository == 'gcg/homer-data' && gitea.event_name == 'push' 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: clone
uses: actions/checkout@v3 uses: https://github.com/actions/checkout@v4
- name: deploy - name: deploy
run: | run: |
rsync -azr --delete ./ /opt/data/homer/ rsync -azr --delete ./ /opt/data/homer/
@ -26,4 +22,3 @@ jobs:
with: with:
chat_id: ${{ secrets.TG_CHAT_ID }} chat_id: ${{ secrets.TG_CHAT_ID }}
token: ${{ secrets.TG_TOKEN }} token: ${{ secrets.TG_TOKEN }}
include_commit_info: false