Rename Workflows (#1881)

## Description

Rename some of the workflows and the steps within the workflows to
provide further clarity as to what they affect. Additionally, rename the
RtD workflow file to differentiate it from the javadocs/doxygen
workflow.

closes #1880

## Meta

Merge checklist:
- [X] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [X] The description documents the _what_ and _why_
- [X] If this PR changes behavior or adds a feature, user documentation
is updated
- [X] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [X] If this PR touches configuration, this is backwards compatible
with settings back to v2024.3.1
- [X] If this PR addresses a bug, a regression test for it is added
This commit is contained in:
Sam Freund
2025-04-11 15:33:27 -05:00
committed by GitHub
parent a93be9c816
commit 781126719a
3 changed files with 13 additions and 13 deletions

View File

@@ -22,6 +22,7 @@ permissions:
jobs:
build_demo:
name: Build PhotonClient Demo
defaults:
run:
working-directory: photon-client
@@ -42,6 +43,7 @@ jobs:
path: photon-client/dist/
run_api_docs:
name: Build API Docs
runs-on: "ubuntu-22.04"
steps:
- name: Checkout code
@@ -55,30 +57,26 @@ jobs:
with:
java-version: 17
distribution: temurin
- name: Build javadocs/doxygen
run: |
chmod +x gradlew
./gradlew photon-docs:generateJavaDocs photon-docs:doxygen
- uses: actions/upload-artifact@v4
with:
name: built-docs
path: photon-docs/build/docs
publish_api_docs:
name: Publish API Docs
needs: [run_api_docs]
runs-on: ubuntu-22.04
steps:
# Download docs artifact
- uses: actions/download-artifact@v4
with:
name: built-docs
- run: find .
- name: Publish docs to development
- name: Publish Docs To Development
if: github.ref == 'refs/heads/main'
uses: up9cloud/action-rsync@v1.4
env:
@@ -86,7 +84,7 @@ jobs:
USER: ${{ secrets.WEBMASTER_SSH_USERNAME }}
KEY: ${{secrets.WEBMASTER_SSH_KEY}}
TARGET: /var/www/html/photonvision-docs/development
- name: publish docs to release
- name: Publish Docs To Release
if: startsWith(github.ref, 'refs/tags/v')
uses: up9cloud/action-rsync@v1.4
env:
@@ -96,8 +94,8 @@ jobs:
TARGET: /var/www/html/photonvision-docs/release/
publish_demo:
name: Publish PhotonClient Demo
needs: [build_demo]
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v4