diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yml similarity index 67% rename from .gitea/workflows/deploy.yaml rename to .gitea/workflows/deploy.yml index f786181..57f83d7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yml @@ -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: