Skip to content

Commit

Permalink
exclude git and github files
Browse files Browse the repository at this point in the history
  • Loading branch information
sabban committed Mar 14, 2024
1 parent 1bb1330 commit 4be41b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_SYNC_ROLE }}
role-session-name: github-action-sync
Expand All @@ -27,4 +27,4 @@ jobs:
- name: Sync content
run: |
sudo apt-get install -y awscli
aws s3 sync . s3://crowdsec-hub
aws s3 sync . s3://crowdsec-hub --exclude ".git/*" --exclude ".github/*""

0 comments on commit 4be41b4

Please sign in to comment.