From 5064dc45872d23b8ef061581071e0176cf5a0413 Mon Sep 17 00:00:00 2001 From: SticksDev Date: Tue, 29 Aug 2023 14:29:41 -0400 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 56c5d63..fd7e685 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,9 +28,6 @@ cp /workspace/.env /crawler/.env echo "Cloning output..." git clone "https://$INPUT_ACTOR:$INPUT_TOKEN@teamhydra.io/$OUTPUT_REPOSITORY.git" /output -echo "Using LFS for .zip files" -git lfs track "*.zip" - # Run crawler echo "Running crawler..." @@ -47,6 +44,9 @@ cd /output rm -rf docs mv preview docs +echo "Using LFS for .zip files" +git lfs track "*.zip" + git add . git commit -m "$INPUT_COMMITMESSAGE" @@ -59,5 +59,4 @@ if $INPUT_FORCE; then fi remote="https://$INPUT_ACTOR:$INPUT_TOKEN@teamhydra.io/$OUTPUT_REPOSITORY.git" - git push $remote "HEAD:$INPUT_BRANCH" $force_option && exit 0