From defd55e0ee1d2cffef8a554a37c4be3a5442dcab Mon Sep 17 00:00:00 2001 From: stevazi Date: Sat, 18 Jan 2025 00:00:26 +0100 Subject: [PATCH] update workflow --- .gitea/workflows/updateDomains.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/updateDomains.yaml b/.gitea/workflows/updateDomains.yaml index 81b10779..8f21ed99 100644 --- a/.gitea/workflows/updateDomains.yaml +++ b/.gitea/workflows/updateDomains.yaml @@ -26,9 +26,10 @@ jobs: - name: Update domains run: python tools/updateDomains.py - - name: Commit & Push changes - uses: actions-js/push@master - with: - message: "Aggiornamento domini" - branch: "master" - github_token: ${{ secrets.API_TOKEN_GITHUB }} \ No newline at end of file + - name: Commit changes + run: | + git add . + git commit -m "Aggiornamento domini" || echo "No changes to commit" + - name: push + run: | + git push https://stevazi:${{ secrets.API_TOKEN_GITHUB }}@git.stevazi.mywire.org/stevazi/addon.git master \ No newline at end of file