Add release workflow

This commit is contained in:
Michael Otto
2026-03-03 07:38:19 +01:00
parent a2d8a1f1cf
commit 78035e08b9

View File

@@ -20,19 +20,11 @@ jobs:
apk add --no-cache git zip curl jq rsync bash
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
uses: actions/checkout@v3
with:
repository: https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action.git
token: ${{ secrets.RELEASE_TOKEN }}
- name: Debug Info
run: |