-
Notifications
You must be signed in to change notification settings - Fork 14
41 lines (36 loc) · 1.14 KB
/
build-the-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
32
33
34
35
36
37
38
39
40
41
name: Build the Docs
on:
push:
branches:
- develop
- master
jobs:
deploy:
runs-on: ubuntu-latest
env:
CLOUDDOCS_PASSWD: ${{ secrets.CLOUDDOCS_PASSWD }}
BUILD_ALL: ""
SKIP_BUILDLABS: ${{ env.SKIP_BUILDLABS }}
BUILD_LIST: ${{ env.BUILD_LIST }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DIST_ID: ${{ secrets.AWS_DIST_ID }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install Dependencies
run: |
python -m pip install -U pip
pip install -r requirements.txt
- run: ./script/cibuild
#- name: Configure AWS credentials
#uses: aws-actions/configure-aws-credentials@v1
#with:
#aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
#aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
#aws-region: us-east-1
#- name: Copy files to s3 (Staging Clouddocs)
#if:
#github.ref == 'refs/heads/develop'
#run: |
#aws s3 sync --delete $PWD/_build/ s3://clouddocs.f5networks.net/training/