diff --git a/.github/workflows/push-to-gitea.yaml b/.github/workflows/push-to-gitea.yaml index 50cd198a1..4afd54046 100644 --- a/.github/workflows/push-to-gitea.yaml +++ b/.github/workflows/push-to-gitea.yaml @@ -33,14 +33,15 @@ jobs: echo "No files found containing GitHub raw URLs" fi - git add . - git commit -m "Sync to Gitea" + - name: Push to Gitea run: | git config --global user.name "Push From Github" git config --global user.email "actions@github.com" git remote add gitea https://$GITEA_USER:$GITEA_TOKEN@git.community-scripts.org/community-scripts/ProxmoxVE.git + git add . + git commit -m "Sync to Gitea" git push gitea --all env: GITEA_USER: ${{ secrets.GITEA_USERNAME }}