-
Notifications
You must be signed in to change notification settings - Fork 0
113 lines (111 loc) · 3.17 KB
/
publish-site.yml
File metadata and controls
113 lines (111 loc) · 3.17 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# Publish documentation site to production or QA
name: publish-site
on:
workflow_dispatch:
inputs:
environment:
description: 'Target environment'
type: choice
options:
- prod
- qa
default: 'qa'
home:
description: 'Home (this repository)'
type: boolean
default: true
all_products:
description: 'All products (overrides individual selections below)'
type: boolean
default: false
annotation:
description: 'Annotation'
type: boolean
default: false
assembly:
description: 'Assembly'
type: boolean
default: false
classification:
description: 'Classification'
type: boolean
default: false
comparison:
description: 'Comparison'
type: boolean
default: false
conversion:
description: 'Conversion'
type: boolean
default: false
editor:
description: 'Editor'
type: boolean
default: false
markdown:
description: 'Markdown'
type: boolean
default: false
merger:
description: 'Merger'
type: boolean
default: false
metadata:
description: 'Metadata'
type: boolean
default: false
parser:
description: 'Parser'
type: boolean
default: false
redaction:
description: 'Redaction'
type: boolean
default: false
search:
description: 'Search'
type: boolean
default: false
signature:
description: 'Signature'
type: boolean
default: false
total:
description: 'Total'
type: boolean
default: false
viewer:
description: 'Viewer'
type: boolean
default: false
watermark:
description: 'Watermark'
type: boolean
default: false
jobs:
publish:
uses: ./.github/workflows/_reusable-build-deploy.yml
with:
base_url: ${{ inputs.environment == 'qa' && 'https://docs-qa.groupdocs.com/' || '' }}
all_products: ${{ inputs.all_products }}
annotation: ${{ inputs.annotation }}
assembly: ${{ inputs.assembly }}
classification: ${{ inputs.classification }}
comparison: ${{ inputs.comparison }}
conversion: ${{ inputs.conversion }}
editor: ${{ inputs.editor }}
markdown: ${{ inputs.markdown }}
merger: ${{ inputs.merger }}
metadata: ${{ inputs.metadata }}
parser: ${{ inputs.parser }}
redaction: ${{ inputs.redaction }}
search: ${{ inputs.search }}
signature: ${{ inputs.signature }}
total: ${{ inputs.total }}
viewer: ${{ inputs.viewer }}
watermark: ${{ inputs.watermark }}
secrets:
DOCS_SSH_HOST: ${{ secrets.DOCS_SSH_HOST }}
DEPLOY_SSH_DIR: ${{ inputs.environment == 'qa' && secrets.DOCS_QA_SSH_DIR || secrets.DOCS_SSH_DIR }}
DOCS_SSH_USER: ${{ secrets.DOCS_SSH_USER }}
DOCS_SSH_KEY: ${{ secrets.DOCS_SSH_KEY }}