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

Build tooling updates #775

Merged
merged 4 commits into from
Aug 31, 2022
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,5 @@ Session.vim
keys.txt
export.sh
/dist
/website
/tmp
server.sh
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,7 @@ The demo website is hosted at

To publish a new version:

- `yarn run build:website` - This builds the website into `website/`
- `yarn run deploy:website` - Pushes the `website/` subtree to the `gh-pages`
branch of your `origin` at github
- `yarn run build:website` - This builds the website into `dist/website`
- `yarn run deploy:website` - Pushes the website to the `gh-pages` branch of the `origin` at github

_Development of Mobiledoc and the supporting libraries was generously funded by [BDG Media](https://www.bdg.com)._
14 changes: 0 additions & 14 deletions bin/build-website.sh

This file was deleted.

4 changes: 2 additions & 2 deletions bin/deploy-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ git branch -D gh-pages
git checkout -b gh-pages

CURRENT_SHA="$(git rev-parse HEAD)"
git add website/ -f
git add dist/website/ -f
git commit -m "Built website from $CURRENT_SHA"

git push origin `git subtree split --prefix website`:gh-pages --force
git push origin `git subtree split --prefix dist/website`:gh-pages --force
echo "Deployed to http://bustle.github.io/mobiledoc-kit/demo/"

git checkout master
Loading