File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -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
You can’t perform that action at this time.
0 commit comments