Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update entrypoint.sh
  • Loading branch information
Sticks committed Aug 29, 2023
1 parent 2d6a310 commit 5064dc4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions entrypoint.sh
Expand Up @@ -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..."

Expand All @@ -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"

Expand All @@ -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

0 comments on commit 5064dc4

Please sign in to comment.