From d2f47f45ee7875777f297596655dcb9c5d4df6bf Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Fri, 18 Oct 2024 12:30:24 -0300 Subject: [PATCH] Update swagger-ui.yml --- .github/workflows/swagger-ui.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swagger-ui.yml b/.github/workflows/swagger-ui.yml index ffe80a3..375fff5 100644 --- a/.github/workflows/swagger-ui.yml +++ b/.github/workflows/swagger-ui.yml @@ -12,10 +12,11 @@ jobs: - name: Generate Swagger UI uses: Legion2/swagger-ui-action@v1 with: + github_token: ${{ secrets.GITHUB_TOKEN }} output: swagger-ui spec-file: openapi.yaml - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: swagger-ui