Skip to content

Commit

Permalink
Test final changes with ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Guysnacho committed Jul 17, 2024
1 parent 49e4932 commit 002f755
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: 🌱 Apply, Build, Deploy 🌿
jobs:
TF-Apply:
name: 🏗️ Apply Infra
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/predeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: 🌱 Plan, Build 🧪
jobs:
TF-Apply:
name: 🏗️ Plan Infra
runs-on: macos-latest
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v4
Expand All @@ -30,7 +30,7 @@ jobs:
- name: 🏗️ Terraform Plan
run: |
cd terraform
terraform apply -var="bucket-name=${{ secrets.S3_BUCKET }}"
terraform plan -var="bucket-name=${{ secrets.S3_BUCKET }}"
- run: echo ${{ steps.plan.outputs.stdout }}
- run: echo ${{ steps.plan.outputs.stderr }}
- run: echo ${{ steps.plan.outputs.exitcode }}
Expand Down Expand Up @@ -62,6 +62,3 @@ jobs:
run: |
cd web
npm run build
- name: 🚀 Upload Package
run: aws s3 sync ./web/out s3://${{ secrets.S3_BUCKET }}/ --region us-west-2
1 change: 0 additions & 1 deletion terraform/s3.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ module "s3-bucket" {
}
]
})
block_public_acls = false
attach_public_policy = true
restrict_public_buckets = false
object_ownership = "BucketOwnerPreferred"
Expand Down

0 comments on commit 002f755

Please sign in to comment.