From 2e993a86e34144f996b544ae9ca2ff99500f496e Mon Sep 17 00:00:00 2001 From: slickFix Date: Sun, 26 Nov 2023 18:13:25 -0800 Subject: [PATCH 1/2] updating jsdoc file with write permissions --- .github/workflows/jsdoc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jsdoc.yml b/.github/workflows/jsdoc.yml index 28d48be..e5faf47 100644 --- a/.github/workflows/jsdoc.yml +++ b/.github/workflows/jsdoc.yml @@ -12,6 +12,9 @@ jobs: documentation: runs-on: ubuntu-latest + permissions: + contents: write + strategy: matrix: node-version: [12.x, 14.x, 16.x] @@ -33,8 +36,6 @@ jobs: - name: Deploy Documentation to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - permissions: - contents: write with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs \ No newline at end of file From e0a83cda6caf504421893a0518b6856bd63d0a4a Mon Sep 17 00:00:00 2001 From: slickFix Date: Sun, 26 Nov 2023 18:20:51 -0800 Subject: [PATCH 2/2] update jsdoc.yml file --- .github/workflows/jsdoc.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/jsdoc.yml b/.github/workflows/jsdoc.yml index e5faf47..424a95c 100644 --- a/.github/workflows/jsdoc.yml +++ b/.github/workflows/jsdoc.yml @@ -38,4 +38,5 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./docs \ No newline at end of file + publish_dir: ./docs + force_orphan: true \ No newline at end of file