Skip to content

Commit

Permalink
chore: publish only to the codius-wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
traviscrist committed Jul 18, 2018
1 parent f0dd72d commit 4b609ba
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions scripts/deploy-wiki.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,14 @@ ls
cp -a "../project/." .
git remote remove origin
echo "remote removed"
#git remote add codiusd "[email protected]:codius/codiusd.wiki.git"
git remote add codius "[email protected]:codius/codius.wiki.git"
#git remote add codiuswiki "[email protected]:codius/codius-wiki.wiki.git"
git remote add codiuswiki "[email protected]:codius/codius-wiki.wiki.git"
echo "added new remote"
# stage any changes and new files
git add -A
# now commit, ignoring branch gh-pages doesn't seem to work, so trying skip
git commit --allow-empty -m "Deploy to GitHub pages [ci skip]"
# and push, but send any output to /dev/null to hide anything sensitive
#git push --force --quiet codiusd master
git push --force --quiet codius master
#git push --force --quiet codiuswiki master
git push --force --quiet codiuswiki master
# go back to where we started and remove the gh-pages git repo we made and used
# for deployment
cd ..
Expand Down

0 comments on commit 4b609ba

Please sign in to comment.