A GitHub Action that generates expected docs and publish one or more entities to desired cloud storage. More details see here.
Required The chosen cloud storage to publish TechDocs content.
Required Bucket or container storage name.
Optional sub-directory to store files in Google cloud storage.
Required for Azure specify when storage input azureBlobStorage.
Azure Storage Account key to use for authentication. If not specified, you must set AZURE_TENANT_ID, AZURE_CLIENT_ID & AZURE_CLIENT_SECRET as environment variables.
Required for OpenStack specify when cloud-storage is openStackSwift.
Required for OpenStack specify when cloud-storage is openStackSwift.
Required for OpenStack specify when cloud-storage is openStackSwift.
Required for OpenStack specify when cloud-storage is openStackSwift.
Optional AWS ARN of role to be assumed.
Optional AWS endpoint to send requests to.
Optional AWS S3 Server Side Encryption.
Optional AWS S3 option to force path style.
Pathdir to get all entities to publish.
Get entities backstage by main catalog file.
Required if use googleGcs
as selected cloud storage to publish.
Required if use awsS3
as selected cloud storage to publish.
Required if use awsS3
as selected cloud storage to publish.
Required if use awsS3
as selected cloud storage to publish.
Required if use azureBlobStorage
as selected cloud storage to publish and azure-account-key
field is null.
Required if use azureBlobStorage
as selected cloud storage to publish and azure-account-key
field is null.
Required if use azureBlobStorage
as selected cloud storage to publish and azure-account-key
field is null.
uses: stone-payments/backstage-techdocs-publisher@v1
with:
cloud-storage: googleGcs
storage-name: '${{ secrets.TECHDOCS_GCS_BUCKET_NAME }}'
publish-looking-file: somepath/catalog.yml