Skip to content

Commit

Permalink
feat: add step to identify current user in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganthepro committed Nov 27, 2024
1 parent 047779b commit 21e5994
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: 'who am i'
run: whoami

- name: switch to root
run: sudo -s

Expand Down

0 comments on commit 21e5994

Please sign in to comment.