-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (29 loc) · 1.01 KB
/
docs.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
name: docs
on: push
jobs:
deploy-main:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- uses: qoqa/[email protected]
env:
AWS_S3_BUCKET: 'zebrunner'
AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.DOCS_AWS_REGION }}
AWS_S3_PATH: '/_common/docs/agents/pytest/README.md'
FILE: 'README.md'
deploy-develop:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v2
- uses: qoqa/[email protected]
env:
AWS_S3_BUCKET: 'zebrunner-stage'
AWS_ACCESS_KEY_ID: ${{ secrets.DOC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DOCS_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.DOCS_AWS_REGION }}
AWS_S3_PATH: '/_common/docs/agents/pytest/README.md'
FILE: 'README.md'