Skip to content

Commit cfd4239

Browse files
fix: use correct staticrypt v3 flag (-d) for password protection
The workflow used -o (v2 flag) which staticrypt v3 silently ignored, causing the encrypted file to go to encrypted/ instead of _site/. Made-with: Cursor
1 parent 85d6db9 commit cfd4239

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy-reports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: python -m cli.main generate-reports -i complexity-report.csv -o _site
4444

4545
- name: Password-protect dashboard
46-
run: npx staticrypt@3 _site/index.html -p "${{ secrets.DASHBOARD_PASSWORD }}" --short --remember 30 -o _site/index.html
46+
run: npx staticrypt@3 _site/index.html -p "${{ secrets.DASHBOARD_PASSWORD }}" --short --remember 30 -d _site
4747

4848
- uses: actions/upload-pages-artifact@v3
4949
with:

0 commit comments

Comments
 (0)