diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..a3324ca --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,28 @@ +name: Publish docs via GitHub Pages +on: + push: + branches: + - main + + pull_request: + branches: + - main + +jobs: + build: + name: Deploy docs + runs-on: ubuntu-latest + steps: + - + name: Checkout main + uses: actions/checkout@v2 + + - + name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + CUSTOM_DOMAIN: eswiki.tech + CONFIG_FILE: mkdocs.yml + EXTRA_PACKAGES: build-base + REQUIREMENTS: requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..2b4ff02 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +mkdocs==1.5.3 +mkdocs-material==9.4.14 +mkdocs-material-extensions==1.3.1 +pymdown-extensions==10.5 \ No newline at end of file