-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 892 Bytes
/
action.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
25
26
27
28
29
30
31
32
33
34
---
name: OMC Docs
description: Publishes our API docs to our internal website at https://abc.omc.io
inputs:
bucket:
description: the s3 bucket to push to
required: true
default: api-docs.omc.ioio
project_name:
description: the folder to store these docs into
required: true
doc_path:
description: the path to push to S3
required: true
doc_command:
description: the command to run to generate docs
required: true
default: bin/doc
aws_access_key_id:
required: true
aws_secret_access_key:
required: true
runs:
using: docker
image: Dockerfile
env:
AWS_ACCESS_KEY_ID: ${{ inputs.aws_access_key_id }}
AWS_SECRET_ACCESS_KEY: ${{ inputs.aws_secret_access_key }}
AWS_DEFAULT_REGION: us-east-1
args:
- ${{ inputs.doc_command }}
- ${{ inputs.doc_path }}
- ${{ inputs.bucket }}
- ${{ inputs.project_name }}