Skip to content

Commit

Permalink
Merge pull request #72 from crowdsecurity/fix_sync
Browse files Browse the repository at this point in the history
Fix sync
  • Loading branch information
buixor authored Jun 26, 2024
2 parents 7bd49f1 + 68c8cc2 commit 344ae4e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Sync
on:
push:
Expand All @@ -11,17 +10,18 @@ jobs:
contents: read

steps:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_SYNC_ROLE }}
role-session-name: github-action-sync
aws-region: ${{ secrets.AWS_REGION }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_SYNC_ROLE }}
role-session-name: github-action-sync
aws-region: ${{ secrets.AWS_REGION }}

- name: Checkout code
uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

- name: Sync content
run: |
sudo apt-get install -y awscli
aws s3 sync . s3://crowdsec-hub --exclude ".git/*" --exclude ".github/*"
- name: Sync content
run: |
sudo apt-get update
sudo apt-get install -y awscli
aws s3 sync . s3://crowdsec-hub --exclude ".git/*" --exclude ".github/*"
2 changes: 1 addition & 1 deletion web/trendy_cves.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
/clients/mycrl
#CVE-2024-4577
?%ad
#CVE-2024-5806
#CVE-2024-5806 or CVE-2024-5805
/guestaccess.aspx

0 comments on commit 344ae4e

Please sign in to comment.