diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml new file mode 100644 index 00000000..d09304ab --- /dev/null +++ b/.github/workflows/github-pages.yml @@ -0,0 +1,22 @@ +name: publish docs +on: + push: + branches: + - feature/docs + +jobs: + build: + name: deploy + runs-on: ubuntu-latest + steps: + - name: checkout main + uses: actions/checkout@v2 + with: + ref: feature/docs + + - name: deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CUSTOM_DOMAIN: docs.adminerevo.org + EXTRA_PACKAGES: build-base