generated from BCDevOps/opendev-template
-
Notifications
You must be signed in to change notification settings - Fork 1
24 lines (21 loc) · 978 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Test DevHub TechDocs Publish Action
on: workflow_dispatch
jobs:
test_techdocs_build_job:
runs-on: ubuntu-latest
name: A job to build and publish techdocs content
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build TechDocs
uses: ./ # Uses the action in the root directory
id: build_and_publish
with:
publish: 'true'
bucket_name: ${{ secrets.TECHDOCS_S3_BUCKET_NAME }}
s3_dev_root_path: ${{ vars.TECHDOCS_S3_DEV_ROOT_PATH }}
s3_access_key_id: ${{ secrets.TECHDOCS_AWS_ACCESS_KEY_ID }}
s3_secret_access_key: ${{ secrets.TECHDOCS_AWS_SECRET_ACCESS_KEY }}
s3_region: ${{ secrets.TECHDOCS_AWS_REGION }}
s3_endpoint: ${{ secrets.TECHDOCS_AWS_ENDPOINT }}
entity_namespace: ${{ vars.TECHDOCS_ENTITY_NAMESPACE }}