Files
Paradise/.github/workflows/generate_autodoc.yml
dependabot[bot] f1082f2ffe Bump crazy-max/ghaction-github-pages from 3 to 4 (#22366)
Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 3 to 4.
- [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases)
- [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-github-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 18:25:52 +01:00

35 lines
959 B
YAML

name: Generate Documentation
on:
schedule:
- cron: "0 0 * * *" # Every day at the very start of the day. Except it happens an hour and a half later because actions backlog
workflow_dispatch:
jobs:
generate_docs:
name: 'Generate Documentation'
runs-on: ubuntu-20.04
steps:
- name: 'Update Branch'
uses: actions/checkout@v4
with:
fetch-depth: 1
ref: master
- name: 'Install DMDOC'
run: bash tools/ci/install_dmdoc.sh
- name: 'Generate Documentation'
run: |
~/dmdoc
touch dmdoc/.nojekyll
# Nojekyll is important to disable jeykll syntax, which can mess with files that start with underscores
- name: 'Deploy Documentation'
uses: crazy-max/ghaction-github-pages@v4
with:
keep_history: false
build_dir: dmdoc
jekyll: false
fqdn: codedocs.paradisestation.org
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}