update-documentation #12830
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
# Goonstation Documentation Publisher | |
name: Code Documentation | |
on: | |
repository_dispatch: | |
types: [update-documentation] | |
jobs: | |
documentation: | |
name: Code Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install Dependencies | |
run: | | |
goonstation/tools/ci/install_spaceman_dmm.sh dmdoc | |
touch goonstation/+secret/__secret.dme | |
- name: Run dmdoc | |
run: | | |
cd goonstation | |
~/dmdoc | |
- name: Deploy Documentation | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: goonstation/dmdoc | |
SINGLE_COMMIT: true |