Commit 9fd44214 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

debug yml

parent 9d1d912c
......@@ -3,30 +3,28 @@
cd 2019/template
# install npm
npm install -g npm@latest grunt-cli generator-reveal
npm install -g npm@latest yo grunt-cli generator-reveal bower
npm install
# build the master version into stable
git fetch --tags
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $latestTag
git submodule update --init
grunt dist
mkdir stable
mv public/* stable/.
#git fetch --tags
#latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
#git checkout $latestTag
#grunt dist
#mkdir stable
#mv public/* stable/.
# build the develop version into latest
git checkout -f develop
git fetch origin develop
git reset --hard origin/develop
git submodule update --init
grunt dist
mkdir latest
mv public/* latest/.
# deploy the stable and latest directories
mv stable public/.
#mv stable public/.
mv latest public/.
# auto redirect file
cp .ci/.autoRedirect public/index.html
#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