clone url up
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user