Compare commits

..

4 Commits
v4 ... v8

Author SHA1 Message Date
Michael Otto
46672dbf2b Add release workflow 2026-03-03 07:46:59 +01:00
Michael Otto
739af302d3 Add release workflow 2026-03-03 07:43:56 +01:00
Michael Otto
c11afa9383 Add release workflow 2026-03-03 07:39:17 +01:00
Michael Otto
78035e08b9 Add release workflow 2026-03-03 07:38:19 +01:00

View File

@@ -20,19 +20,20 @@ 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 - name: Clone Gitea repo
run: | run: |
CURRENT_URL=$(git config --get remote.origin.url) git clone https://$RELEASE_TOKEN:x-oauth-basic@entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action.git repo
echo "Original URL: $CURRENT_URL" env:
GITEA_TOKEN: ${{ secrets.RELEASE_TOKEN }}
# 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
- name: Repository auschecken # with:
uses: actions/checkout@v3 # repository: AG_QGIS/Plugin_Test_Action.git
# fetch-depth: 0
# token: ${{ secrets.RELEASE_TOKEN }}
# git_url: https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action.git
- name: Debug Info - name: Debug Info
run: | run: |