Merge dev with master for v0.32 (#913) #172
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Website - JSON | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
concurrency: | |
group: build-json-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_times_aggregation: true | |
skip_sphinx_build_file_aggregation: false | |
sphinx_build_output_format: json | |
upload-production: | |
if: github.ref_name == 'master' | |
needs: | |
- build | |
uses: ./.github/workflows/upload-json.yml | |
with: | |
branch: ${{ github.ref }} | |
aws_s3_bucket_dir: commits/${{ github.ref_name }}-${{ github.sha }} | |
artifact_name: json.zip | |
qml_react_webhook_event_type: build-pl-site-main | |
secrets: | |
aws_region: ${{ secrets.AWS_REGION }} | |
aws_access_key_id: ${{ secrets.PL_SITE_PROD_NON_REACT_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.PL_SITE_PROD_NON_REACT_SECRET_ACCESS_KEY }} | |
aws_json_s3_bucket_id: ${{ secrets.PL_SITE_PROD_QML_JSON_S3_BUCKET_ID }} | |
aws_html_s3_bucket_id: ${{ secrets.PL_SITE_PROD_S3_BUCKET_NAME }} | |
qml_react_pat_token: ${{ secrets.PL_SITE_PROD_QML_REACT_PAT }} | |
upload-staging: | |
if: github.ref_name == 'dev' | |
needs: | |
- build | |
uses: ./.github/workflows/upload-json.yml | |
with: | |
branch: ${{ github.ref }} | |
aws_s3_bucket_dir: commits/${{ github.ref_name }}-${{ github.sha }} | |
artifact_name: json.zip | |
qml_react_webhook_event_type: build-pl-site-staging | |
secrets: | |
aws_region: ${{ secrets.AWS_REGION }} | |
aws_access_key_id: ${{ secrets.PL_SITE_STAGING_NON_REACT_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.PL_SITE_STAGING_NON_REACT_SECRET_ACCESS_KEY }} | |
aws_json_s3_bucket_id: ${{ secrets.PL_SITE_STAGING_QML_JSON_S3_BUCKET_ID }} | |
aws_html_s3_bucket_id: ${{ secrets.PL_SITE_STAGING_S3_BUCKET_NAME }} | |
qml_react_pat_token: ${{ secrets.PL_SITE_STAGING_QML_REACT_PAT }} | |
upload-dev: | |
if: github.ref_name == 'dev' | |
needs: | |
- build | |
uses: ./.github/workflows/upload-json.yml | |
with: | |
branch: ${{ github.ref }} | |
aws_s3_bucket_dir: commits/${{ github.ref_name }}-${{ github.sha }} | |
artifact_name: json.zip | |
qml_react_webhook_event_type: build-pl-site-dev | |
secrets: | |
aws_region: ${{ secrets.AWS_REGION }} | |
aws_access_key_id: ${{ secrets.PL_SITE_DEV_NON_REACT_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.PL_SITE_DEV_NON_REACT_SECRET_ACCESS_KEY }} | |
aws_json_s3_bucket_id: ${{ secrets.PL_SITE_DEV_QML_JSON_S3_BUCKET_ID }} | |
aws_html_s3_bucket_id: ${{ secrets.PL_SITE_DEV_S3_BUCKET_NAME }} | |
qml_react_pat_token: ${{ secrets.PL_SITE_DEV_QML_REACT_PAT }} |