forked from AG_QGIS/Plugin_Test_Action
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46672dbf2b | ||
|
|
739af302d3 | ||
|
|
c11afa9383 | ||
|
|
78035e08b9 |
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user