This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
REPO: ${{ github.repository }}
|
||||
SHA: ${{ github.sha }}
|
||||
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"
|
||||
# Perform the clone
|
||||
git clone --depth 1 "https://token:${TOKEN}@${STRIPPED_URL}/${REPO}.git" .
|
||||
|
||||
Reference in New Issue
Block a user