diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index e0fcef4..67bd331 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -15,6 +15,9 @@ concurrency: permissions: contents: write +env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + jobs: deploy: runs-on: ubuntu-latest @@ -37,7 +40,7 @@ jobs: spec-file: openapi.yaml # the gh pages are setup to build and deploy on push to the 'gh-pages' branch - name: Push to gh-pages branch - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: swagger-ui