release: proposed docs for 2.16.4 release #123
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: Render Docs | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
render_docs: | |
name: 'Render Docs' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Install Asciidoctor | |
run: | | |
sudo chown -R $USER /var/lib/gems/ | |
sudo chown -R $USER /usr/local/bin | |
gem install asciidoctor | |
shell: bash | |
- name: Render Docs | |
run: asciidoctor ./*.asc | |
- name: Publish Rendered Site As Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: docs.ankidroid.org | |
path: ./ |