Skip to content

Commit

Permalink
Migrate to manubot webpage command
Browse files Browse the repository at this point in the history
Merges manubot/rootstock#265
Follows up manubot/manubot#132

Update timestamp related dependencies
  • Loading branch information
dhimmel authored Sep 5, 2019
1 parent 6a3ac95 commit 188e51a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 246 deletions.
19 changes: 0 additions & 19 deletions build/assets/redirect-template.html

This file was deleted.

8 changes: 4 additions & 4 deletions build/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ dependencies:
- watchdog=0.9.0
- pip:
- errorhandler==2.0.1
- git+https://github.com/manubot/manubot@1b885c614634d6e88565ebcf5052b6884132ab32
- git+https://github.com/manubot/manubot@00405aa8c9af3f43d5b414d0bd83c24dfb4a4bac
- jsonref==0.2
- opentimestamps-client==0.6.0
- opentimestamps==0.3.0
- opentimestamps-client==0.7.0
- opentimestamps==0.4.1
- pandoc-eqnos==1.4.3
- pandoc-fignos==1.4.2
- pandoc-tablenos==1.4.2
- pandoc-xnos==1.2.0
- pybase62==0.4.1
- pysha3==1.0.2
- python-bitcoinlib==0.9.0
- python-bitcoinlib==0.10.2
- requests-cache==0.5.0
- weasyprint==0.42.3
215 changes: 0 additions & 215 deletions build/webpage.py

This file was deleted.

11 changes: 3 additions & 8 deletions ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,13 @@ fi
git remote set-branches --add origin gh-pages output
git fetch origin gh-pages:gh-pages output:output

# Configure versioned webpage
python build/webpage.py \
# Configure versioned webpage and timestamp
manubot webpage \
--timestamp \
--no-ots-cache \
--checkout=gh-pages \
--version="$TRAVIS_COMMIT"

# Generate OpenTimestamps
ots stamp "webpage/v/$TRAVIS_COMMIT/index.html"
if [ "${BUILD_PDF:-}" != "false" ]; then
ots stamp "webpage/v/$TRAVIS_COMMIT/manuscript.pdf"
fi

# Commit message
MESSAGE="\
$(git log --max-count=1 --format='%s') [ci skip]
Expand Down

0 comments on commit 188e51a

Please sign in to comment.