From ac14f9daafed67652dcf8880f1218ea27629c67d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Fri, 12 Apr 2024 21:29:31 +0200 Subject: [PATCH] Update static.yml --- .github/workflows/static.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index bea78b7..03fa899 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -44,12 +44,12 @@ jobs: path: ~/.npm key: ${{ runner.OS }}-node-${{ hashFiles('package-lock.json') }} - name: Generate HTML - run: npx redoc-cli bundle reference/toaztr.v1.yaml && ls -al + run: mkdir dist && npx redocly build-docs reference/toaztr.v1.yaml --output=dist/index.html - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: name: github-pages - path: . + path: dist - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4