From f850a8012f161e17c4603bd3ca42f25c22ff8b5a Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Sun, 30 Apr 2023 13:38:30 -0700 Subject: [PATCH] ci: add docs workflow Signed-off-by: Varun Patil --- .github/workflows/docs.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/docs.yaml diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 00000000..a0569d8d --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,23 @@ +name: ci +on: + push: + branches: + - master + +permissions: + contents: write + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs-material + - run: mkdocs gh-deploy --force