diff --git a/SETUP.md b/SETUP.md index 6966c8fb..abe84f72 100644 --- a/SETUP.md +++ b/SETUP.md @@ -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: @@ -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: @@ -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` diff --git a/build/environment.yml b/build/environment.yml index 2d25db2c..4272d318 100644 --- a/build/environment.yml +++ b/build/environment.yml @@ -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 diff --git a/content/99.back-matter.md b/content/99.back-matter.md index e45ecfd4..ea7243e1 100644 --- a/content/99.back-matter.md +++ b/content/99.back-matter.md @@ -1 +1 @@ -# References {.page_break_before} +## References {.page_break_before}