Skip to content

Commit

Permalink
Temporarily disable 'Build Website' workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov committed Oct 2, 2023
1 parent 4c6e4f7 commit b73b8fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
echo "build_all_demos=$build_all_demos" >> $GITHUB_OUTPUT
- name: Fail for Pull Request in Draft without ci:build-all-qml-demos label
if: steps.build_all_demos.outputs.build_all_demos == 'false' && github.event.pull_request.draft == true
# TODO: Uncomment this condition.
# if: steps.build_all_demos.outputs.build_all_demos == 'false' && github.event.pull_request.draft == true
run: |
message="By default, CI checks will not run on draft PRs.
If you need the CI checks to run, you can mark the PR ready for review, or add the label 'ci:build-all-qml-demos'
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
run: |
metadata_files=()
input_demos_to_build="$DEMOS_TO_BUILD"
if [ -z "$input_demos_to_build" ]; then
readarray -d '' metadata_files < <(find demonstrations -name "*.metadata.json" -not -path "demonstrations/demonstrations_categories.metadata.json" -print0)
else
Expand All @@ -81,12 +82,12 @@ jobs:
metadata_files+=("demonstrations/${metadata_file%.py}.metadata.json")
done
fi
metadata_files_str="${metadata_files[@]}"
echo 'The following metadata files will be validated =>'
echo "$metadata_files_str"
echo "file_names=$metadata_files_str" >> $GITHUB_OUTPUT
- name: Set number of workers needed
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/build-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
uses: ./.github/workflows/upload-text.yml
with:
branch: ${{ github.ref }}
aws_s3_bucket_dir: commits/${{ github.ref_name }}-${{ github.sha }}
artifact_name: text.zip
qml_react_webhook_event_type: build-pl-site-staging

secrets:
aws_region: ${{ secrets.AWS_REGION }}
Expand All @@ -47,9 +44,6 @@ jobs:
uses: ./.github/workflows/upload-text.yml
with:
branch: ${{ github.ref }}
aws_s3_bucket_dir: commits/${{ github.ref_name }}-${{ github.sha }}
artifact_name: text.zip
qml_react_webhook_event_type: build-pl-site-dev

secrets:
aws_region: ${{ secrets.AWS_REGION }}
Expand Down

0 comments on commit b73b8fb

Please sign in to comment.