clone url up
Some checks failed
checks / Check & Test (Frontend + Backend) (push) Failing after 3s
Gitea Actions Demo / Explore-Gitea-Actions (pull_request) Failing after 0s
checks / Check & Test (Frontend + Backend) (pull_request) Failing after 2s

This commit is contained in:
Patrick
2025-10-29 13:47:54 +01:00
parent e84c4aedbd
commit fb7237e248

View File

@ -27,8 +27,14 @@ jobs:
# git clone ${{ gitea.repository.clone_url }} # git clone ${{ gitea.repository.clone_url }}
- name: Checkout repository manually - name: Checkout repository manually
env:
TOKEN: ${{ secrets.ACCESS_TOKEN }}
CLONE_URL: ${{ vars.CLONE_URL }}
run: | run: |
git clone "${{ gitea.repository }}" . echo "Cloning from $CLONE_URL"
CLONE_URL_WITH_AUTH=$(echo "$CLONE_URL" | sed "s#https://#https://$TOKEN@#")
git clone "$CLONE_URL_WITH_AUTH" .
#hff8h7ez9w646 r68jnfuz6337rbfz6r8uendu6e638ejdndubzd6e6378rnf7r64 #hff8h7ez9w646 r68jnfuz6337rbfz6r8uendu6e638ejdndubzd6e6378rnf7r64
- name: List repo files - name: List repo files