delete unexpected }

This commit is contained in:
sillyguodong 2023-05-26 17:36:40 +08:00
parent 04f1f8a19c
commit 7e5da57532
No known key found for this signature in database
GPG Key ID: 4A0646FA86256DF4
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ jobs:
run: |
apt update -y && apt install -y rsync python python3-pip
pip install awscli
aws s3api create-bucket --acl public-read --bucket preview-gitea-org-website-${{ github.event.pull_request.head.repo.name }}-${{ github.event.pull_request.number }} --region ${{ env.AWS_REGION }}} --create-bucket-configuration LocationConstraint=${{ env.AWS_REGION }}} || /bin/true
aws s3api create-bucket --acl public-read --bucket preview-gitea-org-website-${{ github.event.pull_request.head.repo.name }}-${{ github.event.pull_request.number }} --region ${{ env.AWS_REGION }} --create-bucket-configuration LocationConstraint=${{ env.AWS_REGION }} || /bin/true
aws s3 website s3://preview-gitea-org-website-${{ github.event.pull_request.head.repo.name }}-${{ github.event.pull_request.number }}/ --index-document index.html --error-document error.html || /bin/true
- name: "[PR] deploy website to S3 bucket"
uses: https://github.com/jakejarvis/s3-sync-action@master