Generate Documentation #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Documentation | |
on: | |
schedule: | |
- cron: "0 0 * * *" # Every day at the very start of the day | |
jobs: | |
generate_docs: | |
name: 'Generate Documentation' | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: 'Update Branch' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
ref: master | |
- name: 'Generate Documentation' | |
run: | | |
./tools/github-actions/doc-generator | |
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@v2 | |
with: | |
keep_history: false | |
build_dir: dmdoc | |
jekyll: false | |
fqdn: codedocs.paradisestation.org | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |