diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 2fcf7f747..55c786321 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -132,7 +132,7 @@ jobs: if: ${{ steps.fetchsvn.outputs.SVN_FETCH_STATUS == 'complete' }} working-directory: ./src/fhem-mirror run: | - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} + git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git fetch --unshallow || true git push origin master --force --tags