Skip to content

Commit

Permalink
Do not trigger a deployment for README.md updates
Browse files Browse the repository at this point in the history
Signed-off-by: Andreia Ocanoaia <andreia.ocanoaia@gmail.com>
  • Loading branch information
andreia-oca committed Aug 14, 2023
1 parent 856a2c2 commit c83e84d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-to-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: deploy-to-ec2
on:
push:
branches: [main]
paths-ignore:
- 'README.md'

jobs:
deploy:
Expand All @@ -20,4 +22,3 @@ jobs:
run: |
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key ${USER_NAME}@${HOSTNAME} /home/ubuntu/fuse/deploy.sh

0 comments on commit c83e84d

Please sign in to comment.