Skip to content

Commit

Permalink
Update deploy-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cudeso authored Jan 21, 2025
1 parent 32681dd commit b33ef44
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Documentation to GitHub Pages
name: Deploy documentation to GitHub Pages

on:
push:
Expand Down Expand Up @@ -27,10 +27,15 @@ jobs:
cp -r tools _site/
cp -r misp-playbooks _site/
- name: Ensure there is no '.nojekyll'
run: |
rm .nojekyll
- name: Convert site
run: |
find -name "*.ipynb" -exec jupyter nbconvert --to html {} \;
find _site -type f -name "*.md" -exec sed -i 's/\.md/\.html/g' {} \;
find _site -type f -name "*.md" -exec sed -i 's/\.ipynb/\.html/g' {} \;
#- name: Deploy to gh-pages branch
# uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit b33ef44

Please sign in to comment.