Merge pull request #729 from levitsky/annotate-PXD008841 #12
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
name: build adocs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
adoc_build: | |
runs-on: ubuntu-latest | |
name: Asciidoctoring the docs to pretty HTML! | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Get build container | |
id: adocbuild | |
uses: tonynv/asciidoctor-action@master | |
with: | |
program: "asciidoctor -D docs -a stylesheet=style.css --backend=html5 -o index.html sdrf-proteomics/README.adoc && echo 'proteomics-sample-metadata.bigbio.io' > docs/CNAME" | |
- name: Deploy docs to ghpages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./docs/ |