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