File size: 547 Bytes
a323dd9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Deploy
on:
  push:
    branches:
      - main
permissions:
  contents: write
  id-token: write

jobs:
  documentation:
    name: update documentations on gitHub pages
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-python@v4
        with:
          python-version: 3.11
      - uses: actions/cache@v2
        with:
          key: ${{ github.ref }}
          path: .cache
      - run: |
          pip install --upgrade pip
          pip install .[docs]
      - run: mkdocs gh-deploy --force