forked from open-edge-platform/edge-microvisor-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 949 Bytes
/
publish-docs.yml
File metadata and controls
29 lines (26 loc) · 949 Bytes
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
---
name: Publish Docs
on:
workflow_dispatch:
inputs:
target:
description: 'Which target to build'
type: choice
options:
- all-documentation
- microvisor-toolkit
permissions:
contents: read # needed for actions/checkout
pull-requests: read # needed for gh pr list
issues: write # needed to post PR comment
jobs:
build_microvisor-toolkit:
if: ${{ (github.event.inputs.target == 'microvisor-toolkit') || (github.event.inputs.target == 'all-documentation') }}
uses: open-edge-platform/orch-ci/.github/workflows/publish-documentation.yml@734970a73e3d6e8d7cd160e2cad6366770f52403
secrets:
SYS_ORCH_GITHUB: ${{ secrets.SYS_ORCH_GITHUB }}
DOC_AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
DOC_AWS_SECRET_ACCESS_KEY: ${{ secrets.DOC_AWS_SECRET_ACCESS_KEY }}
with:
docs_directory: '.'
branch_pattern: '^3\.0.*$'