diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index e5448483..6f06fb0c 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -21,8 +21,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} GIT_AUTHOR_EMAIL: ${{ secrets.BOT_EMAIL }} GIT_COMMITTER_EMAIL: ${{ secrets.BOT_EMAIL }} - TARGET_REPO: 'https://github.com/Codeinwp/themeisle-sdk-lib' run: | - git remote add mirror "$TARGET_REPO" + git remote add mirror "https://${{ secrets.BOT_TOKEN }}@github.com/Codeinwp/themeisle-sdk-lib" git push mirror master --force # Push only the main branch git push mirror --tags --force # Push all tags