This commit is contained in:
2021-08-20 11:45:08 +02:00
parent 0518bcbfc5
commit d087bd5459
3 changed files with 0 additions and 72 deletions

View File

@@ -1,29 +0,0 @@
set -e
cd /workspace/code//github/threefoldfoundation/www_threefold_io
#set +e
#source /workspace/codewiki/nvm.sh
#set -e
#nvm use --lts
#export PATH=/bin:$PATH
set +e
if [ -f vue.config.js ]; then
npm run-script build
else
gridsome build
fi
set -e
mkdir -p /workspace/codewiki/publish/www_threefold_io
rsync -ra --delete /workspace/code//github/threefoldfoundation/www_threefold_io/dist/ /workspace/codewiki/publish/www_threefold_io/
cd /workspace/code//github/threefoldfoundation/www_threefold_io/dist
#echo go to http://localhost:9999/
#python3 -m http.server 9999

View File

@@ -1,25 +0,0 @@
set -e
cd /workspace/code//github/threefoldfoundation/www_threefold_io
rm -f yarn.lock
rm -rf .cache
#set +e
#source /workspace/codewiki/nvm.sh
#set -e
if [ "true" = "true" ]; then
#nvm use --lts
npm install
rsync -ra --delete node_modules/ /workspace/codewiki/node_modules/
else
rsync -ra --delete /workspace/codewiki/node_modules/ node_modules/
#nvm use --lts
npm install
fi

18
run.sh
View File

@@ -1,18 +0,0 @@
set -e
cd /workspace/code//github/threefoldfoundation/www_threefold_io
#set +e
#source /workspace/codewiki/nvm.sh
#set -e
#nvm use --lts
#export PATH=/bin:$PATH
if [ -f vue.config.js ]; then
npm run-script serve
else
gridsome develop
fi