diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 89efb00..b1253d1 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -8,10 +8,12 @@ on: jobs: generate-docs: runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 @@ -27,7 +29,7 @@ jobs: run: python scripts/openapi.py - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20' @@ -40,10 +42,10 @@ jobs: mv redoc-static.html docs/index.html - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: ./docs - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4