mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-17 12:35:26 +00:00
* Completely replace Travis and AppVeyor with GitHub Actions * Delete .travis.yml Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@users.noreply.github.com> Co-authored-by: Gandalf <jzo123@hotmail.com>
31 lines
815 B
YAML
31 lines
815 B
YAML
name: Generate documentation
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
generate_documentation:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup cache
|
|
uses: actions/cache@v2
|
|
with:
|
|
path: $HOME/SpacemanDMM
|
|
key: ${{ runner.os }}-spacemandmm
|
|
- 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@3.7.1
|
|
with:
|
|
BRANCH: gh-pages
|
|
CLEAN: true
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
SINGLE_COMMIT: true
|
|
FOLDER: dmdoc
|