-
Notifications
You must be signed in to change notification settings - Fork 188
52 lines (46 loc) · 1.46 KB
/
build-text.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
42
43
44
45
46
47
48
49
50
51
52
name: Build Website - Text
on:
push:
branches:
- master
- dev
concurrency:
group: build-text-doc-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
uses: ./.github/workflows/build-branch.yml
with:
branch: ${{ github.ref }}
num_workers: 1
enable_python_cache: false
enable_sphinx_cache: true
enable_qml_execution_times_cache: false
skip_execution_of_examples: true
skip_execution_times_aggregation: true
skip_sphinx_build_file_aggregation: false
sphinx_build_output_format: text
upload-staging:
if: github.ref_name == 'master'
needs:
- build
uses: ./.github/workflows/upload-text.yml
with:
branch: ${{ github.ref }}
secrets:
aws_region: ${{ secrets.AWS_REGION }}
aws_access_key_id: ${{ secrets.STAGING_GLASS_ONION_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.STAGING_GLASS_ONION_AWS_SECRET_ACCESS_KEY }}
aws_text_s3_bucket_id: ${{ secrets.STAGING_GLASS_ONION_DEMOS_BUCKET_ID }}
upload-dev:
if: github.ref_name == 'dev'
needs:
- build
uses: ./.github/workflows/upload-text.yml
with:
branch: ${{ github.ref }}
secrets:
aws_region: ${{ secrets.AWS_REGION }}
aws_access_key_id: ${{ secrets.DEV_GLASS_ONION_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.DEV_GLASS_ONION_AWS_SECRET_ACCESS_KEY }}
aws_text_s3_bucket_id: ${{ secrets.DEV_GLASS_ONION_DEMOS_BUCKET_ID }}