mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-16 16:47:32 +01:00
07a6890803
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6.0.3...v7.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 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>
35 lines
963 B
YAML
35 lines
963 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-22.04
|
|
steps:
|
|
- name: 'Update Branch'
|
|
uses: actions/checkout@v7.0.0
|
|
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 }}
|