Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
BenIVG committed Jan 29, 2025
1 parent 2a013d8 commit 544fe44
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/artifacts_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
required: true
default: 'error.html'
env:
BUCKET_NAME: website-cache
BUCKET_NAME: website

jobs:
build:
Expand All @@ -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

2 changes: 1 addition & 1 deletion udaartifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Resources:
WebBucket:
Type: AWS::S3::Bucket
Properties:
BucketName: website-cache
BucketName: website
WebsiteConfiguration:
IndexDocument: index.html
ErrorDocument: error.html
Expand Down

0 comments on commit 544fe44

Please sign in to comment.