From 33d64ddfa1201018d06998673260e329ca8511c2 Mon Sep 17 00:00:00 2001 From: Artemy Date: Wed, 9 Aug 2023 10:05:44 +0300 Subject: [PATCH] doc: fix workflow --- .github/workflows/doc-gen.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/doc-gen.yml b/.github/workflows/doc-gen.yml index 43abfcd..7d62b6e 100644 --- a/.github/workflows/doc-gen.yml +++ b/.github/workflows/doc-gen.yml @@ -2,24 +2,21 @@ name: Deploy docs on: push: branches: [main] - +permissions: + contents: write jobs: deploy: name: Deploy docs runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - - name: Setup Node.js - uses: actions/setup-node@v1 - with: - node-version: 14.x + uses: actions/checkout@v3 - name: Install dependencies run: npm i - name: Build docs run: npm run docs - name: Deploy docs - uses: JamesIves/github-pages-deploy-action@4.1.9 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: docs