-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (56 loc) · 1.61 KB
/
template_techdocs.yml
File metadata and controls
60 lines (56 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: TechDocs
on:
workflow_call:
inputs:
publisher-type:
required: false
type: string
default: 'azureBlobStorage'
storage-name:
required: false
type: string
default: 'techdocs'
aws-region:
required: false
type: string
default: 'eu-central-1'
entity-kind:
required: false
type: string
default: 'Component'
entity-name:
required: false
type: string
default: ${{ github.event.repository.name }}
additional-plugins:
required: false
type: string
secrets:
aws-access-key-id:
required: false
aws-secret-access-key:
required: false
azure-account-name:
required: false
azure-account-key:
required: false
jobs:
techdocs:
name: TechDocs
runs-on: ubuntu-slim
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build and Publish Site
uses: Staffbase/backstage-techdocs-action@v0.2.2
with:
entity-kind: ${{ inputs.entity-kind }}
entity-name: ${{ inputs.entity-name }}
publisher-type: ${{ inputs.publisher-type }}
storage-name: ${{ inputs.storage-name }}
aws-region: ${{ inputs.aws-region }}
aws-access-key-id: ${{ secrets.aws-access-key-id }}
aws-secret-access-key: ${{ secrets.aws-secret-access-key }}
azure-account-name: ${{ secrets.azure-account-name }}
azure-account-key: ${{ secrets.azure-account-key }}
additional-plugins: ${{ inputs.additional-plugins }}