python-adblock

Updated Brave adblock library for Python
Log | Files | Refs | README

commit d5662ab1302a612e52e92714aeca3eae8b8cf165
parent 94d1d60945ecf2756524beb7345f4faae8ca99af
Author: Árni Dagur <arni@dagur.eu>
Date:   Sun, 24 May 2020 01:19:46 -0400

Deploy 'cargo doc' to Github Pages (#5)


Diffstat:
M.github/workflows/ci.yml | 27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -140,3 +140,29 @@ jobs: MATURIN_PASSWORD: ${{ secrets.PYPI }} run: poetry run maturin publish --interpreter python${{matrix.python_version}} --username __token__ + docs-publish: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' + steps: + - uses: actions/checkout@v2 + with: + submodules: true + fetch-depth: 0 + + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + + - name: Build documentation + uses: actions-rs/cargo@v1 + with: + command: doc + args: --all-features + + - name: Deploy documentation + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./target/doc +\ No newline at end of file