From fa2617fd456fd1fcb9c893de4283497f230188a7 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 22 Nov 2017 13:37:45 +0100 Subject: [PATCH] fix deploying to ghpages --- remix-debugger/ci/deploy_from_travis.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/remix-debugger/ci/deploy_from_travis.sh b/remix-debugger/ci/deploy_from_travis.sh index 1c32ff9dea..e80aba8e47 100755 --- a/remix-debugger/ci/deploy_from_travis.sh +++ b/remix-debugger/ci/deploy_from_travis.sh @@ -11,6 +11,14 @@ git rm --cached -r . echo "# Automatic build" > README.md echo "Built website from {$SHA}. See https://github.com/ethereum/remix/ for details." >> README.md # -f is needed because "build" is part of .gitignore + +# copying file to the root folder +cp remix-debugger/index.html index.html +mkdir build +cp remix-debugger/build/app.js build/app.js +mkdir assets +cp -R remix-debugger/assets/. assets/ + git add -f README.md index.html build/app.js assets git commit -m "Built website from {$SHA}."