File tree 2 files changed +12
-9
lines changed
2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -61,19 +61,21 @@ jobs:
61
61
npm run links || echo "Link check found issues, review logs for details"
62
62
continue-on-error : true
63
63
64
- # Build and validate documentation
65
- - name : Build documentation with validation
64
+ # Build documentation
65
+ - name : Build documentation
66
66
run : mkdocs build --strict
67
-
68
- # Deploy to GitHub Pages using mkdocs
67
+
68
+ # Deploy to GitHub Pages
69
69
- name : Deploy to GitHub Pages
70
- run : |
71
- git config --local user.email "github-actions[bot]@users.noreply.github.com"
72
- git config --local user.name "github-actions[bot]"
73
- mkdocs gh-deploy --force
70
+ uses : JamesIves/github-pages-deploy-action@v4
71
+ with :
72
+ folder : site
73
+ branch : gh-pages
74
+ clean : true
74
75
75
76
# Verify deployment
76
77
- name : Verify deployment
77
78
run : |
78
79
echo "Documentation deployed to GitHub Pages"
79
- echo "Visit https://mitre.github.io/kube-secure-scanner/ to view the documentation"
80
+ echo "Visit https://mitre.github.io/kube-secure-scanner/ to view the documentation"
81
+ echo "Note: It may take a few minutes for changes to propagate"
Original file line number Diff line number Diff line change 1
1
site_name : Kube Secure Scanner
2
2
site_url : https://mitre.github.io/kube-secure-scanner/
3
3
site_description : A flexible, security-focused framework for scanning containers in Kubernetes environments with multiple scanning engines
4
+ # Force rebuild with a small change
4
5
site_author : MITRE SAF Team
5
6
copyright : © The MITRE Corporation. Brought to you by the <a href="https://saf.mitre.org">MITRE Security Automation Framework (SAF)</a>
6
7
You can’t perform that action at this time.
0 commit comments