diff --git a/.devops/sync-github.yml b/.devops/sync-github.yml index d5fdd72..3348b81 100644 --- a/.devops/sync-github.yml +++ b/.devops/sync-github.yml @@ -13,7 +13,7 @@ steps: fetchTags: true - script: | - git remote add github 'https://$(GITHUB_PAT)@$(GITHUB_URL)' + git remote add github 'https://$(GITHUB_USER):$(GITHUB_PAT)@$(GITHUB_URL)' git push github main git push github $(Build.SourceBranchName) displayName: 'Sync repository with GitHub'