From 19137bb4977edfdd0c0f8fdc1d63251700453b3c Mon Sep 17 00:00:00 2001 From: Winant Pablo Date: Tue, 28 Apr 2020 23:37:33 +0200 Subject: [PATCH] Build packets and docs on push. --- .github/workflows/mkdocs.yml | 19 +++++++++++++++++++ .github/workflows/publish-to-test-pypi.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/mkdocs.yml diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml new file mode 100644 index 00000000..764e910a --- /dev/null +++ b/.github/workflows/mkdocs.yml @@ -0,0 +1,19 @@ +name: Publish docs via GitHub Pages + +on: + push: + branches: + - master +jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - name: Checkout master + uses: actions/checkout@v1 + + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # CUSTOM_DOMAIN: optionaldomain.com diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 77b7744b..31265904 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,6 +1,6 @@ name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI -on: push +on: push: branches: - master