We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b47c0b commit 4d632c0Copy full SHA for 4d632c0
.github/workflows/preview-build.yml
@@ -86,7 +86,7 @@ jobs:
86
return deployment.data.id
87
88
- name: Generate env.PATH_PREFIX
89
- if: steps.check-files.outputs.any_changed == 'true'
+ if: steps.deployment.outputs.result
90
env:
91
PR_NUMBER: ${{ github.event.pull_request.number }}
92
GITHUB_REF_NAME: ${{ github.ref_name }}
@@ -138,7 +138,7 @@ jobs:
138
- name: Upload to S3
139
if: steps.deployment.outputs.result
140
run: |
141
- aws s3 sync ./html "s3://elastic-docs-v3-website-preview${PATH_PREFIX}" --delete
+ aws s3 sync .artifacts/docs/html "s3://elastic-docs-v3-website-preview${PATH_PREFIX}" --delete
142
aws cloudfront create-invalidation \
143
--distribution-id EKT7LT5PM8RKS \
144
--paths "${PATH_PREFIX}" "${PATH_PREFIX}/*"
0 commit comments