Skip to content

Commit

Permalink
update to index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
rilesdun committed Sep 17, 2023
1 parent d275031 commit 8f62093
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bandit-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Run Bandit and generate report
run: |
bandit -r src/ -f json -o bandit-security-report/bandit-report.json
python json_to_html.py bandit-security-report/bandit-report.json > bandit-security-report/bandit-report.html
python json_to_html.py bandit-security-report/bandit-report.json > bandit-security-report/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion json_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ def json_to_html(input_file, output_file):
f.write(html_content)

if __name__ == "__main__":
json_to_html('bandit-security-report/bandit-report.json', 'bandit-security-report/bandit-report.html')
json_to_html('bandit-security-report/bandit-report.json', 'bandit-security-report/index.html')

0 comments on commit 8f62093

Please sign in to comment.