Skip to content

Commit

Permalink
cd: check filebeat status에 sudo 옵션을 추가한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Jan 17, 2025
1 parent 48972a3 commit ca99094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: check filebeat status
id: check-status
run: |
if docker ps --filter "name=filebeat" --filter "status=running" --format "{{.Names}}" | grep -q "^filebeat$"; then
if sudo docker ps --filter "name=filebeat" --filter "status=running" --format "{{.Names}}" | grep -q "^filebeat$"; then
echo "Filebeat is already running"
echo "status=running" >> $GITHUB_ENV
else
Expand Down

0 comments on commit ca99094

Please sign in to comment.