Browse Source

Move Online Doc Build to Release Workflow

The build process for the online documentation site has not changed, it was just moved to the Release workflow so it will be a little more stable.
pull/569/head v3.6.0-dev.2
Wayne Warthen 8 months ago
parent
commit
1b2f452373
No known key found for this signature in database GPG Key ID: 8B34ED29C07EEB0A
  1. 15
      .github/workflows/commit.yml
  2. 15
      .github/workflows/release.yml
  3. 2
      Source/ver.inc
  4. 2
      Source/ver.lib

15
.github/workflows/commit.yml

@ -41,21 +41,6 @@ jobs:
name: RomWBW-${{env.COMMIT_REF}}-Linux
path: .
- name: Build Docs
run: |
export TZ='America/Los_Angeles'
sudo apt-get install gpp pandoc
pip install mkdocs
make -C Source/Doc deploy_mkdocs
mkdocs build -f Source/Doc/mkdocs.yml
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Source/Doc/site
buildMacOS:
runs-on: macOS-latest

15
.github/workflows/release.yml

@ -52,6 +52,21 @@ jobs:
title: "${{env.TITLE}} ${{github.ref_name}}"
files: |
RomWBW-${{github.ref_name}}-Package.zip
- name: Build Docs
run: |
export TZ='America/Los_Angeles'
sudo apt-get install gpp pandoc
pip install mkdocs
make -C Source/Doc deploy_mkdocs
mkdocs build -f Source/Doc/mkdocs.yml
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Source/Doc/site
# - name: Upload Package Archive
# uses: AButler/upload-release-assets@v2.0.2

2
Source/ver.inc

@ -2,7 +2,7 @@
#DEFINE RMN 6
#DEFINE RUP 0
#DEFINE RTP 0
#DEFINE BIOSVER "3.6.0-dev.1"
#DEFINE BIOSVER "3.6.0-dev.2"
#define rmj RMJ
#define rmn RMN
#define rup RUP

2
Source/ver.lib

@ -3,5 +3,5 @@ rmn equ 6
rup equ 0
rtp equ 0
biosver macro
db "3.6.0-dev.1"
db "3.6.0-dev.2"
endm

Loading…
Cancel
Save