-
Notifications
You must be signed in to change notification settings - Fork 270
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
PR: merge Rootstock updates on 2020-02-28 #991
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b7e6f58
Update plugins for pandoc-xnos suite version 2.0 breaking changes
vincerubinetti 37b3378
Update metadata.authors & USAGE
dhimmel b5c196f
SETUP: better manubot update instructions
dhimmel 06fb01d
build: configure pandoc using --defaults files
dhimmel 6636b91
Process citations / references with pandoc-manubot-cite filter
dhimmel 52211e1
Minor environment updates on 2020-01-14
dhimmel f072e93
GitHub Actions workflow for building and deployment
dhimmel af52dea
Tweaks following up GitHub Actions
dhimmel eab9b2a
CI: do not run deploy.sh if secrets are unset
dhimmel f6b6231
Attempt to fix .travis.yml syntax error
dhimmel 42669ce
Fix get_rootstock_commit on CI
dhimmel 713000d
GitHub Actions: version artifact name
dhimmel 8924d7d
CI deployment: update env vars
dhimmel 40b0e5b
SETUP.md: add table of contents
olgabot 7412f76
.appveyor.yml: note about skipping branches with PR
olgabot 7545592
Update environment on 2020-02-17
dhimmel af2ef81
GH Actions: no setup deployment using GITHUB_TOKEN
dhimmel d14dd7d
SETUP.md: fix double negative typo
dhimmel 9bdf4c1
GH Actions: skip deployment on forks
dhimmel cd8ce12
fixup! GH Actions: skip deployment on forks
dhimmel c25f8b8
Simplify setup by creating branches later
dhimmel cde7fa2
Update environment 2020-02-27 & citations usage
dhimmel dfaf888
Merge Rootstock updates on 2020-02-28
dhimmel c822167
Remove {{manubot.manuscript_stats.reference_counts}}
dhimmel d8c2b79
Move citation tags in backmatter
dhimmel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Manubot | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
jobs: | ||
manubot: | ||
name: Manubot | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }} | ||
steps: | ||
- name: Set Environment Variables | ||
run: | | ||
TRIGGERING_SHA=${GITHUB_PULL_REQUEST_SHA:-$GITHUB_SHA} | ||
TRIGGERING_SHA_7=${TRIGGERING_SHA::7} | ||
echo "::set-env name=TRIGGERING_SHA_7::$TRIGGERING_SHA_7" | ||
echo "TRIGGERING_SHA: $TRIGGERING_SHA" | ||
- name: Checkout Repository | ||
uses: actions/checkout@v2 | ||
with: | ||
# fetch entire commit history to support get_rootstock_commit | ||
fetch-depth: 0 | ||
- name: Install Environment | ||
uses: goanpeca/setup-miniconda@v1 | ||
with: | ||
activate-environment: manubot | ||
environment-file: build/environment.yml | ||
auto-activate-base: false | ||
miniconda-version: 'latest' | ||
- name: Build Manuscript | ||
shell: bash --login {0} | ||
run: bash build/build.sh | ||
- name: Upload Artifacts | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: manuscript-${{ github.run_id }}-${{ env.TRIGGERING_SHA_7 }} | ||
path: output | ||
- name: Deploy Manuscript | ||
if: github.ref == 'refs/heads/master' && github.event_name == 'push' && !github.event.repository.fork | ||
env: | ||
MANUBOT_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MANUBOT_SSH_PRIVATE_KEY: ${{ secrets.MANUBOT_SSH_PRIVATE_KEY }} | ||
CI_BUILD_WEB_URL: https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks | ||
CI_JOB_WEB_URL: https://github.com/${{ github.repository }}/runs/${{ github.run_id }} | ||
shell: bash --login {0} | ||
run: bash ci/deploy.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Pandoc --defaults shared between Manubot output formats. | ||
from: markdown | ||
input-file: output/manuscript.md | ||
filters: | ||
- pandoc-fignos | ||
- pandoc-eqnos | ||
- pandoc-tablenos | ||
- pandoc-manubot-cite | ||
- pandoc-citeproc | ||
wrap: preserve | ||
metadata: | ||
csl: build/assets/style.csl | ||
link-citations: true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove this if we switch to GitHub Actions+AppVeyor