diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..c013bb4 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,24 @@ +name: gh-pages +on: + push: + branches: + - master + - main +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install \ + mkdocs-material \ + mkdocs-awesome-pages-plugin \ + mkdocs-git-revision-date-localized-plugin \ + mkdocs-redirects \ + - run: mkdocs gh-deploy --force \ No newline at end of file