Fix S3 bucket name and create deployment bucket

- Created S3 bucket: ice-puremichigan-lol
- Updated all references to use correct bucket name
- Applied public access policy for scripts/* path
- Ready for automated deployment via GitHub Actions
This commit is contained in:
Deco Vander 2025-07-03 00:02:52 -04:00
parent e58e89ac72
commit 5b9c9f7396
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ PORT=3000
1. **Run the deployment script on your server:** 1. **Run the deployment script on your server:**
```bash ```bash
curl -sSL https://ice.puremichigan.lol.s3.amazonaws.com/scripts/deploy.sh | bash curl -sSL https://ice-puremichigan-lol.s3.amazonaws.com/scripts/deploy.sh | bash
``` ```
2. **Deploy your application:** 2. **Deploy your application:**

View file

@ -6,7 +6,7 @@
"Effect": "Allow", "Effect": "Allow",
"Principal": "*", "Principal": "*",
"Action": "s3:GetObject", "Action": "s3:GetObject",
"Resource": "arn:aws:s3:::ice.puremichigan.lol/scripts/*" "Resource": "arn:aws:s3:::ice-puremichigan-lol/scripts/*"
} }
] ]
} }

View file

@ -38,7 +38,7 @@ sudo useradd --system --shell /bin/false --home /opt/icewatch --create-home icew
# Download additional configuration files from S3 # Download additional configuration files from S3
echo "📥 Downloading configuration files..." echo "📥 Downloading configuration files..."
S3_BASE_URL="https://ice.puremichigan.lol.s3.amazonaws.com/scripts" S3_BASE_URL="https://ice-puremichigan-lol.s3.amazonaws.com/scripts"
# Download systemd service file # Download systemd service file
echo "📥 Downloading systemd service..." echo "📥 Downloading systemd service..."