From 75874e1ed0474f88bf1c07268bd890738485c7b1 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 26 Mar 2018 15:26:47 -0500 Subject: [PATCH] Don't delete the import folder in build --- .travis/deploy_script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 1f07e95c..0cac79ff 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -40,7 +40,7 @@ if [ "$TRAVIS" = "true" ]; then # clear any app specific stuff that might have been loaded in find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + - find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 -exec rm -rf {} + + find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -not -name import -print0 -exec rm -rf {} + # Remove any development files rm -rf .sass-cache @@ -75,8 +75,8 @@ if [ "$TRAVIS" = "true" ]; then artifacts upload --target-paths "/" release_version else echo "uploading $TRAVIS_BRANCH_version file" - cp $TRAVIS_BUILD_DIR/VERSION $TRAVIS_BRANCH_version - artifacts upload --target-paths "/" $TRAVIS_BRANCH_version + cp $TRAVIS_BUILD_DIR/VERSION ${TRAVIS_BRANCH}_version + artifacts upload --target-paths "/" ${TRAVIS_BRANCH}_version fi curl -X POST --data "{\"content\": \"A new build is available at http://downloads.phpvms.net/$TAR_NAME ($VERSION)\"}" -H "Content-Type: application/json" $DISCORD_WEBHOOK_URL