Skip to content

Commit

Permalink
Add --login to sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Dec 9, 2024
1 parent 195457c commit ccc5f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Start Postgres
run: |
sudo systemctl start postgresql.service
sudo -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres';"
sudo --login -u postgres psql -c "ALTER USER postgres WITH PASSWORD 'postgres';"
- uses: actions/checkout@v4

Expand Down

0 comments on commit ccc5f05

Please sign in to comment.