diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eef0140..207f488 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,11 @@ -name: 🏗️ Build +name: build +run-name: 🚀 Build on: push: branches: - main - release/** + pull_request: branches: - main @@ -17,6 +19,7 @@ concurrency: jobs: build: + name: 🚀 Build runs-on: ubuntu-latest steps: - name: 🛎️ Checkout @@ -32,26 +35,7 @@ jobs: run: pnpm run build - name: 📦 Upload Build Artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: name: "build-artifact-${{ github.sha }}" path: build - - deploy: - needs: [build] - runs-on: ubuntu-latest - steps: - - name: 🛎️ Checkout - uses: actions/checkout@v3 - - - name: 📦 Download Build Artifact - uses: actions/download-artifact@v2 - with: - name: "build-artifact-${{ github.sha }}" - path: build - - - name: 🔺 Publish our Build Artifacts - uses: actions/upload-pages-artifact@v2 - with: - name: github-pages - path: build \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..b7e92d2 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,41 @@ +name: deploy +run-name: 🚀 Deploy +on: + workflow_run: + workflows: ["build"] + branches: ["main", "release/*"] + types: + - completed + +env: + DEPLOY_PREVIEW: ${{ github.event.workflow_run.event == 'pull_request' }} + ARTIFACT_NAME: "build-artifact-${{ github.sha }}" + + + +jobs: + deploy: + # Only run if the build was successful + if: ${{ github.event.workflow_run.conclusion == 'success' }} + + name: 🚀 Deploy + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + permissions: + pages: write + contents: write + id-token: write + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 + with: + artifact_name: ${{ env.ARTIFACT_NAME}} + preview: ${{ env.DEPLOY_PREVIEW }} + + - name: Get the URL for the deployment + run: echo "${{ steps.deployment.outputs.page_url }}" \ No newline at end of file diff --git a/src/assets/email.svg b/src/assets/email.svg new file mode 100644 index 0000000..efb2091 --- /dev/null +++ b/src/assets/email.svg @@ -0,0 +1,5 @@ + + + \ No newline at end of file diff --git a/src/config.tsx b/src/config.tsx index 466daa8..b260b63 100644 --- a/src/config.tsx +++ b/src/config.tsx @@ -1,10 +1,8 @@ import { ReactComponent as GithubIcon } from './assets/github.svg'; import { ReactComponent as LinkedInIcon } from './assets/linkedin.svg'; +import { ReactComponent as EmailIcon } from './assets/email.svg'; import { ReactComponent as Logo } from './assets/logo.svg'; import Profile from './pages/profile.md' -import Experience from './pages/experience.md' -import Projects from './pages/projects.md' -import Sources from './pages/projects.md' import ReactMarkdown from 'react-markdown'; const markdown = (contents: string) => (<>); @@ -22,12 +20,14 @@ const config = { url: 'https://www.linkedin.com/in/petertonysmith/', icon: LinkedInIcon }, + { + name: 'Email', + url: 'mailto:peter@smiths.im', + icon: EmailIcon + } ], pages: [ () => markdown(Profile), - () => markdown(Experience), - () => markdown(Projects), - () => markdown(Sources), ] }; diff --git a/src/pages/experience.md b/src/pages/experience.md deleted file mode 100644 index 49d115a..0000000 --- a/src/pages/experience.md +++ /dev/null @@ -1,31 +0,0 @@ -# Experience - -TL;DR: - -- I'm a software engineer with 10+ years of experience in software development. -- [TypeScript](https://www.typescriptlang.org/) with [React](https://react.dev/) and/or [Node.js](https://nodejs.org/en) are my bread and butter. -- However, I'm keen to immerse myself in new technologies and broaden my horizons. - -## Huboo Technologies - -- Software Engineer -- December '20 - June '23 -- **TypeScript** | Vue | **Node.js** -- AWS | Docker | Serverless | Terraform | Kubernetes -- MySQL | MongoDB | Redis | ElasticSearch - -## Evergreen Computing - -- Software Engineer -- October '19 - December '20 -- **TypeScript** | Vue.js | PHP | Laravel -- Docker -- MySQL - -## Usay Compare - -- Software Engineer -- August '18 - October '19 -- **TypeScript** | **React** | GraphQL | Node.js -- GCP | Docker | Kubernetes | Terraform -- MySQL | MongoDB | Redis diff --git a/src/pages/projects.md b/src/pages/projects.md deleted file mode 100644 index 9fa5ef1..0000000 --- a/src/pages/projects.md +++ /dev/null @@ -1,32 +0,0 @@ -# Projects - -I have projects to keep me busy, and to keep me learning about a range of interest. I have a few projects that I am working on, and a few that I have worked on. I am always looking for new projects to work on, and I am always looking for new people to work with. [Hit Me Up](mailto:peter@smiths.im) for a collab. - -## La colectiva (aka DAO) - -- Core founder: facilitating proposals, agendas, discussions. -- Ownership: not only for pushing forward proposals, but also implementing any actions that are required. - -## Artist - -- Mediums: Painting, pastels, pencils, digital -- Styles: Abstract (predominantly) -- Quotes: "I do arts sometimes" - -## Gettin' my hands dirty - -- Mechanic - rebuilding a boat engine -- Qualified welder -- Gardener - -## Philanthropy - -### Hawkspring - -[Website](https://hawkspring.org.uk/) - -I have been overseeing/facilitating the integration of emerging technologies into this charity setting, to benefit their funding efforts (+ assisting their funding efforts). - -### Village Shop - -Working with a local village shop, that is fully community driven, to get the sense of community everyone needs. Working the till, wholesaler trips, egg requests, done a little bit of everything in my time. (not sharing establishment for anonymity reasons) diff --git a/src/pages/sources.md b/src/pages/sources.md index dafa034..d4f83fd 100644 --- a/src/pages/sources.md +++ b/src/pages/sources.md @@ -1,3 +1,7 @@ # Sources -[Shubham Dhage | 3D Artist](https://unsplash.com/@theshubhamdhage) \ No newline at end of file +[Shubham Dhage | 3D Artist](https://unsplash.com/@theshubhamdhage) + +- [./assets/shubham-dhage-pringle-layers.jpg](../assets/shubham-dhage-pringle-layers.jpg) +- [./assets/shubham-dhage-sphere-center.jpg](../assets/shubham-dhage-sphere-center.jpg) +- [./assets/shubham-dhage-sphere-offset-left.jpg](../assets/shubham-dhage-sphere-offset-left.jpg) \ No newline at end of file