Skip to content

Commit

Permalink
Update GitHub Pages deploy job (#4343)
Browse files Browse the repository at this point in the history
Description of changes:
- remove temporary files from the HTML directory uploaded to GitHub Pages
- generate the video page (required for espressomd/espressomd.github.io#1)
  • Loading branch information
kodiakhq[bot] committed Sep 9, 2021
2 parents 9a622f8 + 08ff6bc commit e3935de
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/deploy_docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,15 @@ runs:
# HTML theme and Markdown files, then convert them to HTML files
git merge --quiet --commit --no-edit --allow-unrelated-histories remotes/origin/landing_page
make tutorials.md
make videos.md
for filename in *.md; do
make "${filename%.md}.html";
done
git add *.html tutorials.md
git commit --quiet -m "Generate landing page"
rm *_header.html
git add *.html
git clean -f
git rm *.md *.py Makefile
git commit --quiet -m "Generate landing page"
# add devel documentation
rsync -a --delete --exclude='*.md5' --exclude='*.map' "build/doc/doxygen/html/" dox/
rsync -a --delete --exclude='.buildinfo' "build/doc/sphinx/html/" doc/
Expand Down

0 comments on commit e3935de

Please sign in to comment.