Skip to content

Commit

Permalink
Updating CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MSAdministrator committed Jun 30, 2023
1 parent 5464ce0 commit 87dd68d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/generatepyattckdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ jobs:
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Generate new data_collector data
run: |
cd data_collector
poetry install
poetry run python run.py
- name: Generate ATTCK Data
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ..
poetry run pip install --upgrade pip
poetry run pip install PyGithub>=1.55
poetry run pip install deep-translator
Expand All @@ -60,3 +66,4 @@ jobs:
aws s3 cp merged_mobile_attck_v1.json s3://${{ secrets.SWIMLANE_PYATTCK_AWS_BUCKET_NAME }} --acl public-read
aws s3 cp merged_pre_attck_v1.json s3://${{ secrets.SWIMLANE_PYATTCK_AWS_BUCKET_NAME }} --acl public-read
aws s3 cp merged_nist_controls_v1.json s3://${{ secrets.SWIMLANE_PYATTCK_AWS_BUCKET_NAME }} --acl public-read
aws s3 cp data_collector/generated_attck_data_v3.json s3://${{ secrets.SWIMLANE_PYATTCK_AWS_BUCKET_NAME }} --acl public-read

0 comments on commit 87dd68d

Please sign in to comment.