All technological notes.
Reusable Workflows
Any workflow can be made reusable by adding workflow_call to the top-level on key of the workflow definition
on:
workflow_call:
inputs:
aws-region:
type: string
secrets:
auth-token:
required: true
outputs:
server-url:
value: <value>
with keywordsecrets keywordoutputs keywordjobs:
backend-infra-nonprod:
uses: reusable-deploy@v1
secrets:
auth-token: $
with:
aws-region: $