Merge pull request #91 from pbackus/reduce-match-overhead #44
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
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Install D compiler | |
uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: dmd-latest | |
- name: Build documentation | |
run: | | |
wget https://github.com/adamdruppe/adrdox/archive/master.zip | |
unzip master.zip | |
pushd adrdox-master && make && popd | |
export PATH=$PATH:$PWD/adrdox-master | |
doc2 --genSearchIndex --genSource -o generated-docs src | |
- name: Deploy to Github Pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: generated-docs |