From 9add1cf048f02b283ab82d9027a978c01ae864b1 Mon Sep 17 00:00:00 2001 From: Moustafa Shokrof Date: Thu, 21 Sep 2023 16:01:06 -0700 Subject: [PATCH] git hub actions --- .github/workflows/docs.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 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 0000000..d219848 --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,24 @@ +name: mkdocs +on: + push: + branches: + - main + - gh-pages +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 + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install mkdocs mkdocs-material mkdocs-simple-blog mkdocs-jupyter mkdocs-glightbox + - run: mkdocs gh-deploy --config-file mkdocs.yml --force \ No newline at end of file