set remote url
This commit is contained in:
parent
8e4420b93b
commit
edbbdd8860
|
@ -39,4 +39,6 @@ jobs:
|
||||||
git config user.name "CI"
|
git config user.name "CI"
|
||||||
git config user.email "ci@noreply.libre-chip.org"
|
git config user.email "ci@noreply.libre-chip.org"
|
||||||
git commit -n -m "rendered version of $hash"
|
git commit -n -m "rendered version of $hash"
|
||||||
|
[[ "${{ github.server_url }}" =~ ^"https://"(.*)$ ]]
|
||||||
|
git remote set-url origin "https://x-access-token:${{ github.token }}@${BASH_REMATCH[1]}/${{ github.repository }}"
|
||||||
git push -f origin rendered
|
git push -f origin rendered
|
Loading…
Reference in a new issue