forked from AG_QGIS/Plugin_Test_Action
Add release workflow
This commit is contained in:
@@ -20,6 +20,17 @@ jobs:
|
|||||||
apk add --no-cache git zip curl jq rsync bash
|
apk add --no-cache git zip curl jq rsync bash
|
||||||
git config --global http.sslVerify false
|
git config --global http.sslVerify false
|
||||||
|
|
||||||
|
- name: Remote URL fixen
|
||||||
|
run: |
|
||||||
|
CURRENT_URL=$(git config --get remote.origin.url)
|
||||||
|
echo "Original URL: $CURRENT_URL"
|
||||||
|
|
||||||
|
# Hostnamen durch RELEASE_URL ersetzen
|
||||||
|
NEW_URL=$(echo "$CURRENT_URL" | sed "s|://[^/]*|://${{ secrets.RELEASE_TOKEN }}:@${{ vars.RELEASE_URL }}|")
|
||||||
|
echo "Neue URL: $NEW_URL"
|
||||||
|
|
||||||
|
git remote set-url origin "$NEW_URL"
|
||||||
|
|
||||||
- name: Repository auschecken
|
- name: Repository auschecken
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user