Browse Source
Move Docs Build After Upload Artifact
pull/563/head
Wayne Warthen
8 months ago
No known key found for this signature in database
GPG Key ID: 8B34ED29C07EEB0A
1 changed files with
15 additions and
10 deletions
-
.github/workflows/commit.yml
|
|
@ -25,12 +25,9 @@ jobs: |
|
|
- name: Build |
|
|
- name: Build |
|
|
run: | |
|
|
run: | |
|
|
export TZ='America/Los_Angeles' |
|
|
export TZ='America/Los_Angeles' |
|
|
sudo apt-get install srecord gpp pandoc |
|
|
|
|
|
pip install mkdocs |
|
|
|
|
|
|
|
|
sudo apt-get install srecord |
|
|
make distlog |
|
|
make distlog |
|
|
rm -rf .git* |
|
|
rm -rf .git* |
|
|
make -C Source/Doc deploy_mkdocs |
|
|
|
|
|
mkdocs build -f Source/Doc/mkdocs.yml |
|
|
|
|
|
|
|
|
|
|
|
- name: List Output |
|
|
- name: List Output |
|
|
run: | |
|
|
run: | |
|
|
@ -38,6 +35,20 @@ jobs: |
|
|
ls -l |
|
|
ls -l |
|
|
find -type f -exec md5sum '{}' \; |
|
|
find -type f -exec md5sum '{}' \; |
|
|
|
|
|
|
|
|
|
|
|
- name: Upload Artifact |
|
|
|
|
|
uses: actions/upload-artifact@v4.3.0 |
|
|
|
|
|
with: |
|
|
|
|
|
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 |
|
|
- name: Deploy Docs |
|
|
uses: peaceiris/actions-gh-pages@v4 |
|
|
uses: peaceiris/actions-gh-pages@v4 |
|
|
if: github.ref == 'refs/heads/master' |
|
|
if: github.ref == 'refs/heads/master' |
|
|
@ -45,12 +56,6 @@ jobs: |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
publish_dir: Source/Doc/site |
|
|
publish_dir: Source/Doc/site |
|
|
|
|
|
|
|
|
- name: Upload Artifact |
|
|
|
|
|
uses: actions/upload-artifact@v4.3.0 |
|
|
|
|
|
with: |
|
|
|
|
|
name: RomWBW-${{env.COMMIT_REF}}-Linux |
|
|
|
|
|
path: . |
|
|
|
|
|
|
|
|
|
|
|
buildMacOS: |
|
|
buildMacOS: |
|
|
runs-on: macOS-latest |
|
|
runs-on: macOS-latest |
|
|
|
|
|
|
|
|
|