diff --git a/.gitea/workflows/copy.yaml b/.gitea/workflows/copy.yaml index 5563d87..69edc8b 100644 --- a/.gitea/workflows/copy.yaml +++ b/.gitea/workflows/copy.yaml @@ -1,29 +1,24 @@ -name: copy-homer - -on: - push: - branches: - - main - -concurrency: - group: ${{ gitea.workflow }}-${{ gitea.ref }} - cancel-in-progress: true - -jobs: - prod-build: - if: gitea.repository == 'gcg/homer-data' && gitea.event_name == 'push' - runs-on: act-runner-user - timeout-minutes: 5 - steps: - - name: clone - uses: actions/checkout@v3 - - name: deploy - run: | - rsync -azr --delete ./ /opt/data/homer/ - - name: notification - uses: actions/telegram-action@main - if: always() - with: - chat_id: ${{ secrets.TG_CHAT_ID }} - token: ${{ secrets.TG_TOKEN }} - include_commit_info: false \ No newline at end of file +name: copy-homer + +on: + push: + branches: + - main + +jobs: + prod-build: + if: gitea.repository == 'gcg/homer-data' + runs-on: act-runner-user + timeout-minutes: 5 + steps: + - name: clone + uses: https://github.com/actions/checkout@v4 + - name: deploy + run: | + rsync -azr --delete ./ /opt/data/homer/ + - name: notification + uses: actions/telegram-action@main + if: always() + with: + chat_id: ${{ secrets.TG_CHAT_ID }} + token: ${{ secrets.TG_TOKEN }} \ No newline at end of file