Hi my name is Sam Roy and I built this website to showcase my projects and cv. You've probably noticed by now how basic this website is. I like it that way.
linkedin | twitter | email | gmail
Project | Branch | Status | Commits |
---|---|---|---|
samroyio-website | master | ||
samroyio-infrastructure | master |
samroyio-website
│ .gitignore
│ gatsby-browser.ts
│ gatsby-config.ts
│ package-lock.json
│ package.json
│ README.md
│ tsconfig.json
├───.circleci
│ config.yml
└───src
├───components
│ header.tsx
│ layout.css
│ layout.tsx
├───images
│ icon.png
└───pages
│ 404.mdx
│ index.mdx
│ projects.mdx
│ resume.mdx
│ test.mdx
└───examples
gatsby-404.tsx
index-old.tsx
pagetest.tsx
testblog.tsx
build:
working_directory: ~/repo
docker:
- image: circleci/node:17-browsers
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package-lock.json" }}
- v1-dependencies-
- run:
name: Install dependencies
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package-lock.json" }}
paths:
- node_modules
- run:
name: Build
command: |
if [ $CIRCLE_BRANCH = 'master' ]; then
npm run build
fi
- persist_to_workspace:
root: .
paths:
- .
deploy:
working_directory: ~/repo
docker:
- image: innovatorjapan/awscli:latest
steps:
- attach_workspace:
at: .
- run:
name: Deploy
command: |
if [ $CIRCLE_BRANCH = 'master' ]; then
aws s3 sync public s3://samroy.io --delete --exact-timestamps;
fi