diff --git a/.github/workflows/artifacts_workflow.yml b/.github/workflows/artifacts_workflow.yml index bc2ad7a..81a06a7 100644 --- a/.github/workflows/artifacts_workflow.yml +++ b/.github/workflows/artifacts_workflow.yml @@ -11,7 +11,7 @@ on: required: true default: 'error.html' env: - BUCKET_NAME: website-cache + BUCKET_NAME: website jobs: build: @@ -35,15 +35,15 @@ jobs: template: udaartifact.yml # no-fail-on-empty-changeset: "1" - - name: Upload files to S3 bucket - run: | - aws s3 cp ./website/${{ github.event.inputs.index_document }} s3://${{env.BUCKET_NAME}} - aws s3 cp ./website/${{ github.event.inputs.error_document }} s3://${{env.BUCKET_NAME}} - - - name: Show S3 bucket website URL - run: | - aws cloudformation describe-stacks \ - --stack-name uda-artifact \ - --query 'Stacks[0].Outputs[?OutputKey==`ArtifactBucketWebsiteURL`].OutputValue' \ - --output text + #- name: Upload files to S3 bucket + # run: | + # aws s3 cp ./website/${{ github.event.inputs.index_document }} s3://${{env.BUCKET_NAME}} + # aws s3 cp ./website/${{ github.event.inputs.error_document }} s3://${{env.BUCKET_NAME}} +# + #- name: Show S3 bucket website URL + # run: | + # aws cloudformation describe-stacks \ + # --stack-name uda-artifact \ + # --query 'Stacks[0].Outputs[?OutputKey==`ArtifactBucketWebsiteURL`].OutputValue' \ + # --output text diff --git a/udaartifact.yml b/udaartifact.yml index cd01b03..2d347e2 100644 --- a/udaartifact.yml +++ b/udaartifact.yml @@ -4,7 +4,7 @@ Resources: WebBucket: Type: AWS::S3::Bucket Properties: - BucketName: website-cache + BucketName: website WebsiteConfiguration: IndexDocument: index.html ErrorDocument: error.html