-
Notifications
You must be signed in to change notification settings - Fork 188
53 lines (47 loc) · 1.51 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
53
name: Build Website - Text
on:
push:
branches:
- master
- dev
- sc-44774-glass-onion-demos-bucket
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: 10
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_MAIN_GLASS_ONION_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.STAGING_MAIN_GLASS_ONION_ACCESS_KEY_ID }}
aws_text_s3_bucket_id: ${{ secrets.STAGING_MAIN_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_MAIN_GLASS_ONION_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.DEV_MAIN_GLASS_ONION_ACCESS_KEY_ID }}
aws_text_s3_bucket_id: ${{ secrets.DEV_MAIN_GLASS_ONION_DEMOS_BUCKET_ID }}