Skip to content

Commit fcb3d7f

Browse files
committed
updates to this bs
1 parent 5f0db2c commit fcb3d7f

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

‎.travis.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ before_install:
1717
- gem install bundler
1818

1919
# Install AWS CLI v2
20-
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
21-
- unzip awscliv2.zip
22-
- sudo ./aws/install
20+
- mkdir -p /tmp/awscli && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "/tmp/awscli/awscliv2.zip"
21+
- unzip /tmp/awscli/awscliv2.zip -d /tmp/awscli
22+
- sudo /tmp/awscli/aws/install
2323
- export PATH=$PATH:/usr/local/bin # Ensure aws is available
2424

2525
# Setup Bundler

‎script/deploy.sh‎

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22
set -e
33

4-
echo "🟢 Starting deploy to S3…"
5-
6-
# Optional: echo current AWS identity
7-
aws sts get-caller-identity
8-
9-
# Deploy to S3 (adjust region if needed)
10-
aws s3 sync _site s3://whatthefuckjusthappenedtoday.com
11-
12-
echo "✅ Deploy complete"
4+
echo "Deploying _site to S3…"
5+
aws s3 sync _site s3://whatthefuckjusthappenedtoday.com --exact-timestamps

0 commit comments

Comments
 (0)