mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-11 08:06:33 +01:00
34289bfce8
## About The Pull Request <img width="908" height="878" alt="image" src="https://github.com/user-attachments/assets/7262576b-f7d9-4be4-8cff-6662f85698fd" /> Our application of Ubuntu 22.04 versus Ubuntu 24.04 (which is presently the version for `ubuntu-latest`) is pretty inconsistent even within the same suites, I figure we bump it up and set one standard moving forwards. This PR was originally set to autoset it to `ubuntu-latest` but wow the issues are agonizing so let's just bump it up and keep it synchronized also bumps python to `3.11.0` and whatever dependency versions needed that as that was necessary
36 lines
1.0 KiB
YAML
36 lines
1.0 KiB
YAML
name: Generate documentation
|
|
on:
|
|
schedule:
|
|
- cron: "44 */6 * * *"
|
|
workflow_dispatch:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
generate_documentation:
|
|
permissions:
|
|
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
|
|
if: ( !contains(github.event.head_commit.message, '[ci skip]') )
|
|
runs-on: ubuntu-24.04
|
|
concurrency: gen-docs
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Setup cache
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: ~/SpacemanDMM
|
|
key: ${{ runner.os }}-spacemandmm-${{ secrets.CACHE_PURGE_KEY }}
|
|
- name: Install SpacemanDMM
|
|
run: bash tools/ci/install_spaceman_dmm.sh dmdoc
|
|
- name: Generate documentation
|
|
run: |
|
|
~/dmdoc
|
|
touch dmdoc/.nojekyll
|
|
echo codedocs.tgstation13.org > dmdoc/CNAME
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4.7.6
|
|
with:
|
|
branch: gh-pages
|
|
clean: true
|
|
single-commit: true
|
|
folder: dmdoc
|