Skip to content

Commit

Permalink
Add missing sudo for generate-documentation workflow when using apt/npm
Browse files Browse the repository at this point in the history
  • Loading branch information
machitgarha committed Sep 28, 2022
1 parent 98a5f24 commit 58f1d4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: Install redoc-cli using NPM
run: |
apt install npm
npm i -g redoc-cli
sudo apt install npm
sudo npm i -g redoc-cli
- name: Generate documentation
run: redoc-cli build spec/openapi.yaml -o build/limesurvey-rest-api-docs.html
Expand Down

0 comments on commit 58f1d4e

Please sign in to comment.