This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
|||||||
REPO: ${{ github.repository }}
|
REPO: ${{ github.repository }}
|
||||||
SHA: ${{ github.sha }}
|
SHA: ${{ github.sha }}
|
||||||
run: |
|
run: |
|
||||||
STRIPPED_URL=$(nix shell nixpkgs#gnused echo $GITEA_URL | sed -e 's|^https://||' -e 's|^http://||')
|
STRIPPED_URL=$(nix shell nixpkgs#gnused --command echo $GITEA_URL | sed -e 's|^https://||' -e 's|^http://||')
|
||||||
echo "Cloning from: $STRIPPED_URL"
|
echo "Cloning from: $STRIPPED_URL"
|
||||||
# Perform the clone
|
# Perform the clone
|
||||||
git clone --depth 1 "https://token:${TOKEN}@${STRIPPED_URL}/${REPO}.git" .
|
git clone --depth 1 "https://token:${TOKEN}@${STRIPPED_URL}/${REPO}.git" .
|
||||||
|
|||||||
Reference in New Issue
Block a user