Commit 4b5f5df4 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

change of deployment scheme

parent 61645c1f
#!/bin/bash
cd 2019/template
cd 2019
BLADE="template"
cd $BLADE
rootDir=$(pwd)
# install npm
npm install -g npm@latest yo grunt-cli generator-reveal
......@@ -19,12 +24,13 @@ git checkout -f develop
git fetch origin develop
git reset --hard origin/develop
grunt dist
mkdir latest
mv public/* latest/.
mkdir $BLADE-latest
mv public/* $BLADE-latest/.
# deploy the stable and latest directories
mkdir $rootDir/public
#mv stable public/.
mv latest public/.
mv $BLADE-latest $rootDir/public/.
# auto redirect file
#cp .ci/.autoRedirect public/index.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment