forked from AG_QGIS/Plugin_Test_Action
Add release workflow
This commit is contained in:
@@ -20,19 +20,11 @@ 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
|
||||||
|
with:
|
||||||
|
repository: https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action.git
|
||||||
|
token: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
|
||||||
- name: Debug Info
|
- name: Debug Info
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user