Fixing git push
This commit is contained in:
@@ -50,6 +50,7 @@ runs:
|
|||||||
git config user.name "Release"
|
git config user.name "Release"
|
||||||
|
|
||||||
original_url="$(git remote get-url origin)"
|
original_url="$(git remote get-url origin)"
|
||||||
|
echo "HELLO $original_url"
|
||||||
repo_url="${original_url#https://}" # Remove HTTPS
|
repo_url="${original_url#https://}" # Remove HTTPS
|
||||||
new_url="https://x-access-token:${{ secrets.CI_GIT_WRITE_TOKEN }}@$repo_url"
|
new_url="https://x-access-token:${{ secrets.CI_GIT_WRITE_TOKEN }}@$repo_url"
|
||||||
git remote set-url origin "$new_url"
|
git remote set-url origin "$new_url"
|
||||||
|
|||||||
Reference in New Issue
Block a user