-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: publish only to the codius-wiki
- Loading branch information
1 parent
f0dd72d
commit 4b609ba
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 .. | ||
|