Skip to content

Commit

Permalink
Use sudo for user vreation
Browse files Browse the repository at this point in the history
Signed-off-by: Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com>
  • Loading branch information
chimosky committed Apr 5, 2024
1 parent daf047e commit 4f717d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
- name: Create builduser
run: |
# A user is required so that the docs are not built as root
useradd builduser -m # Create the builduser
passwd -d builduser # Delete the buildusers password
printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers
sudo useradd builduser -m # Create the builduser
sudo passwd -d builduser # Delete the buildusers password
printf 'builduser ALL=(ALL) ALL\n' | sudo tee -a /etc/sudoers
- name: Build documentation
run: |
Expand Down

0 comments on commit 4f717d5

Please sign in to comment.