name: Deploy docs to GitHub Pages on: push: branches: - main jobs: deploy: name: Deploy docs runs-on: ubuntu-latest steps: - name: Checkout main uses: actions/checkout@v2 - name: Deploy MkDocs uses: mhausenblas/mkdocs-deploy-gh-pages@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CUSTOM_DOMAIN: refine.rs REQUIREMENTS: ./requirements.docs.txt