Use travis to deploy on github pages when pushing on master
yann-yinn opened this issue · 2 comments
yann-yinn commented
because this should not exist : https://github.com/contentacms/contenta_vue_nuxt/blob/master/deploy-to-github-pages.sh
yann-yinn commented
remove deploy script from the repo. Did not achieve to make travis deploy pages work, keep saying me something like "this repo name does not match deploy.on.repo name" (trying to deploy to https://github.com/contentavuenuxt/contentavuenuxt.github.io )
yann-yinn commented
closing, not required for now. I am using a custom script looking like this to deploy on github pages :
cd contentavuenuxt
git checkout master
npm run generate
rm -rf ../contentavuenuxt.github.io/*
cp -r dist/ ../contentavuenuxt.github.io
cd ../contentavuenuxt.github.io
git add . && git commit -m "deploy" && git push
cd -
echo "deployment ok"