contentacms/contenta_vue_nuxt

Use travis to deploy on github pages when pushing on master

yann-yinn opened this issue · 2 comments

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 )

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"