Skip to content
Snippets Groups Projects
Commit 9fd44214 authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

debug yml

parent 9d1d912c
No related branches found
No related tags found
No related merge requests found
...@@ -3,30 +3,28 @@ ...@@ -3,30 +3,28 @@
cd 2019/template cd 2019/template
# install npm # install npm
npm install -g npm@latest grunt-cli generator-reveal npm install -g npm@latest yo grunt-cli generator-reveal bower
npm install npm install
# build the master version into stable # build the master version into stable
git fetch --tags #git fetch --tags
latestTag=$(git describe --tags `git rev-list --tags --max-count=1`) #latestTag=$(git describe --tags `git rev-list --tags --max-count=1`)
git checkout $latestTag #git checkout $latestTag
git submodule update --init #grunt dist
grunt dist #mkdir stable
mkdir stable #mv public/* stable/.
mv public/* stable/.
# build the develop version into latest # build the develop version into latest
git checkout -f develop git checkout -f develop
git fetch origin develop git fetch origin develop
git reset --hard origin/develop git reset --hard origin/develop
git submodule update --init
grunt dist grunt dist
mkdir latest mkdir latest
mv public/* latest/. mv public/* latest/.
# deploy the stable and latest directories # deploy the stable and latest directories
mv stable public/. #mv stable public/.
mv latest public/. mv latest public/.
# auto redirect file # auto redirect file
cp .ci/.autoRedirect public/index.html #cp .ci/.autoRedirect public/index.html
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment