forked from AG_QGIS/Plugin_Test_Action
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2d8a1f1cf | ||
|
|
eb1c0fa6b9 | ||
|
|
cb71f30c29 |
@@ -15,10 +15,25 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Notwendige Abhängigkeiten installieren
|
- name: Notwendige Abhängigkeiten installieren
|
||||||
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
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
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Debug Info
|
- name: Debug Info
|
||||||
run: |
|
run: |
|
||||||
echo "Tag: $GITEA_REF_NAME"
|
echo "Tag: $GITEA_REF_NAME"
|
||||||
|
|||||||
Reference in New Issue
Block a user