Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify deploy script by not using git-subtree #74

Merged
merged 1 commit into from
Dec 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@
git config --global user.name $USER_NAME
git config --global user.email $USER_EMAIL

# Pull latest version of published subtree
git checkout master
git subtree pull --prefix=docs --message="[skip ci] Update subtree" https://47deg:[email protected]/47deg/47deg.github.io.git master

# Build & Commit built site
git checkout master
lein run
git add docs
git commit -m "[skip ci] Generate site"
git push https://47deg:[email protected]/47deg/org master

# Push built subtree to official website
git subtree push --prefix=docs https://47deg:[email protected]/47deg/47deg.github.io.git master