This project, joshkautz.com, is a static site to serve as a personal portfolio and branding website. It's simply a collection of links to social media platforms to increase hireability.
This is used now that I am hosting via Firebase Hosting.
Manual - Firebase CLI
Windows
$Date = Get-Date -Format "dddd-MM-dd-yyyy-HH-mm-ss"
$Channel = "Preview-" + $Date
firebase hosting:channel:deploy $Channel --expires 1d --project josh-kautz --json
Linux
Date=$(date +'%A-%m-%d-%Y-%H-%M-%S')
Channel="Preview-"$Date
firebase hosting:channel:deploy $Channel --expires 1d --project josh-kautz --json
Windows
firebase deploy --only hosting --project josh-kautz --json
Linux
firebase deploy --only hosting --project josh-kautz --json
Automatic - Firebase Hosting GitHub Action
- Create a Pull Request to merge new feature branch into the Main branch.
- Firebase Hosting GitHub Action will build and deploy the new changes to a Preview Channel on Firebase Hosting.
- After testing the features at the Preview Channel URL, merge the Pull Request into the Main branch.
- Firebase Hosting GitHub Action will build and deploy the new changes to the Live Channel on Firebase Hosting.
This was used when I was hosting on AWS S3 and serving via AWS CloudFront.
- Upload Project to S3 Bucket.
aws s3 sync . s3://joshkautz.com/
- Create a new invalidation for the CloudFront distribution.
aws cloudfront create-invalidation --distribution-id E1ISLD2UYMLZC7 --paths "/*"
- Upload Project to S3 Bucket.
aws s3 sync . s3://joshkautz.com/
- Create a new invalidation for the CloudFront distribution.
aws cloudfront create-invalidation --distribution-id E1ISLD2UYMLZC7 --paths "/*"