Skip to content

New HTTP demo to generate a pre-signed URL to an S3 object file (#1901) #48

New HTTP demo to generate a pre-signed URL to an S3 object file (#1901)

New HTTP demo to generate a pre-signed URL to an S3 object file (#1901) #48

name: Doxygen Generation
on:
push:
branches: [main]
workflow_dispatch:
jobs:
doxygen-generation:
runs-on: ubuntu-latest
steps:
- name: Doxygen generation
uses: FreeRTOS/CI-CD-Github-Actions/doxygen-generation@main
with:
generate_command: |
git submodule update --init --depth 1
if python3 tools/doxygen/generate_docs.py --root . ; then
find * -type d -wholename '*/doxygen/output' -exec mkdir -p html/{} \; -exec mv {}/html html/{} \;
cat << END > html/index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url='docs/doxygen/output/html'" />
</head>
<body>
<p><a href="docs/doxygen/output/html">Click here if page does not redirect.</a></p>
</body>
</html>
END
else
exit 1
fi
output_dir: html