Skip to content

Commit

Permalink
feat: added a line to check if the sudo cmd is working when running a…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Jolan committed Mar 4, 2025
1 parent c9238b0 commit cbf5984
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
- name: Check environment variables
run: env

- name: Check if sudo is working without a password
run: |
sudo whoami
# Copying nginx configuration file to the server
- name: Deploy nginx configuration file
run: |
Expand Down

0 comments on commit cbf5984

Please sign in to comment.