Merge pull request #184 from BluEye-Robotics/waterlinked-sonar-3d15 #221
This file contains hidden or 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
name: Generate documentation | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
generate-documentation: | |
runs-on: ubuntu-latest | |
container: | |
image: pseudomuto/protoc-gen-doc:1.5.1 | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v4 | |
- name: Print path | |
run: echo "${{ github.workspace }}/protobuf_definitions" | |
- name: Create output configDirectory | |
run: mkdir -p docs | |
- name: List files | |
run: ls -la | |
- name: Generate documentation | |
run: protoc --doc_out=docs --doc_opt=html,protocol.html --proto_path=protobuf_definitions protobuf_definitions/*.proto | |
- name: List doc files | |
run: ls -la docs | |
- name: Publish artifacts | |
uses: fixpoint/azblob-upload-artifact@v4 | |
with: | |
connection-string: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} | |
container: protocoldefinitions | |
name: docs | |
path: docs |