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

SETUP.md updates and Manubot version bumb #66

Merged
merged 5 commits into from
Sep 1, 2017
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
14 changes: 13 additions & 1 deletion SETUP.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ echo https://github.com/$OWNER/$REPO/settings/keys
```

Manually add `deploy.key.pub` (with write access) to GitHub under the repository's deploy key settings (the URL echoed above).
Give the key a descriptive title, such as "Travis CI Manubot".

For the next step, you need the [Travis command line client](https://github.com/travis-ci/travis.rb) installed.
This program is a Ruby gem:
Expand Down Expand Up @@ -103,6 +104,14 @@ TRAVIS_ENCRYPT_ID=`grep \
sed --in-place "s/f2f00aaf6402/$TRAVIS_ENCRYPT_ID/g" deploy.sh
```

Next, limit [concurrent](https://blog.travis-ci.com/2014-07-18-per-repository-concurrency-setting/) Travis CI jobs to ensure previous builds deploy before subsequent ones begin:

```sh
travis settings \
--repo=$OWNER/$REPO \
maximum_number_of_builds --set 1
```

The continuous integration configuration is now complete.
Clean up:

Expand All @@ -123,11 +132,14 @@ Now update `README.md` files to reference the new repository:
# Perform substitutions
sed --in-place "s/greenelab/$OWNER/g" README.md
sed --in-place "s/manubot-rootstock/$REPO/g" README.md

# Remove deletable content file
git rm content/02.delete-me.md
```

## Finalize

Run `git status` or `git diff` to check that the following files have unstaged changes:
Run `git status` or `git diff --word-diff` to check that the following files have unstaged changes:

+ `README.md`
+ `ci/deploy.key.enc`
Expand Down
2 changes: 1 addition & 1 deletion build/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- pip:
- errorhandler==2.0.1
- ghp-import==0.5.5
- git+https://github.com/greenelab/manubot@33e512d21218263423de5f0d127aac4f8635468f
- git+https://github.com/greenelab/manubot@367f0b5c8046e5ce2f1e5a0ef555ec29a4aefd59
- opentimestamps-client==0.5.0
- opentimestamps==0.1.0
- pandoc-eqnos==0.16
Expand Down
2 changes: 1 addition & 1 deletion content/99.back-matter.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# References {.page_break_before}
## References {.page_break_before}