Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/docs-preview-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: none
deployments: write
id-token: write
pull-requests: none
outputs:
Expand All @@ -216,10 +216,8 @@ jobs:
persist-credentials: false

- name: Create Deployment
# disabled: deployments are not enabled on this branch
if: >
false
&& env.MATCH == 'true'
env.MATCH == 'true'
&& needs.check.outputs.any_modified != 'false'
&& (
github.event_name == 'push'
Expand Down Expand Up @@ -334,6 +332,7 @@ jobs:
&& steps.internal-docs-build.outputs.skip != 'true'
&& steps.internal-docs-build.outcome == 'success'
&& steps.internal-validate-path-prefixes.outcome == 'success'
&& (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)

- name: Upload to S3
id: s3-upload
Expand All @@ -342,6 +341,7 @@ jobs:
&& !cancelled()
&& steps.internal-docs-build.outputs.skip != 'true'
&& steps.internal-docs-build.outcome == 'success'
&& (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
env:
AWS_RETRY_MODE: standard
AWS_MAX_ATTEMPTS: 6
Expand All @@ -363,10 +363,8 @@ jobs:

- name: Update deployment status
uses: actions/github-script@v8
# disabled: deployments are not enabled on this branch
if: >
false
&& env.MATCH == 'true'
env.MATCH == 'true'
&& always()
&& steps.deployment.outputs.result
env:
Expand Down
Loading