Skip to content

Commit ece2fa1

Browse files
authored
TCLOUD-4780: Fixed the credentials used to delete closed PR previews (#3920)
* TCLOUD-4780: Fixed the credentials used to delete closed PR previews * TCLOUD-4780: Added missing `--recursive` flag * TCLOUD-4780: Updated the pull request template with the preview URL
1 parent a4ce4d2 commit ece2fa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Ticket: DOC-<num>
22

3-
Site: [Staging branch](http://docs-<hotfix|feature>-<version>-doc-<num>.staging.tiny.cloud/docs/tinymce/<version>/)
3+
Site: [Staging branch](https://pr-<PR#>.tinymce-docs.iad.staging.tiny.cloud/docs/tinymce/<version>/)
44

55
Changes:
66
* <placeholder-text>

.github/workflows/preview_delete.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
- name: configure aws credentials
3636
uses: aws-actions/[email protected]
3737
with:
38-
role-to-assume: arn:aws:iam::327995277200:role/staging-docs-preview-update
39-
role-session-name: docs-preview-delete
38+
role-to-assume: arn:aws:iam::327995277200:role/staging-tinymce-docs-update
39+
role-session-name: tinymce-docs-delete
4040
aws-region: us-east-2
4141

4242
- name: Remove website preview from S3
4343
run: |
44-
aws s3 rm s3://tiny-cloud-antora-docs-preview/${PR}
44+
aws s3 rm --recursive s3://tiny-cloud-antora-docs-preview/${PR}

0 commit comments

Comments
 (0)