#!/bin/bash
set -ev;
cd target/webapp
git init
git config user.name ${GH_NAME}
git config user.email ${GH_EMAIL}
git add .
git commit -m "Deployed to Github Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1

#!/bin/bash
set -ev;
cd target/webapp/react-bp
git init
git config user.name ${GH_NAME}
git config user.email ${GH_EMAIL}
git add .
git commit -m "Deployed to Github Pages"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages > /dev/null 2>&1

Deploy to gh-pages the correct sub-directory (introduced to make the local url correct)
Deploy to gh-pages the correct sub-directory (introduced to make the local url correct)
