diff --git a/deploy.ts b/deploy.ts new file mode 100755 index 0000000..14478ef --- /dev/null +++ b/deploy.ts @@ -0,0 +1,25 @@ +#!/usr/bin/env bun +import { $ } from "bun"; + +await $`bun run clean`; +await $`bun run build`; + +process.stdout.write("Profile: "); + +let profile = ""; +for await (const line of console) { + profile = line; + break; +} + +await $`aws s3 sync ./.vitepress/dist/ s3://mjfs.us --acl public-read --delete --profile ${profile} --region us-west-1`; + +process.stdout.write("Distribution Id: "); + +let distId = ""; +for await (const line of console) { + distId = line; + break; +} + +await $`aws cloudfront create-invalidation --distribution-id ${distId} --paths '/*' --profile ${profile}`; diff --git a/jobs/mystro.md b/jobs/mystro.md index 8973935..fb8634c 100644 --- a/jobs/mystro.md +++ b/jobs/mystro.md @@ -4,14 +4,12 @@ #### July 2022 - Present -Fully develop and deploy user-ready port of original Mystro iOS and Android native apps into a -single React-Native codebase. Support the application while implementing advanced features, like -real-time filtering and native modules for automation and networking features. Develop supporting -web services for things like tracking user rewards and data ingestion for analytics. +Fully port original Mystro iOS and Android native apps into a single React-Native codebase, then +deploy to both Apple & Google app stores. Support the application while implementing advanced +features, like real-time filtering and native modules for automation and networking features. -Additionally, I help to onboard/mentor new engineers to the team and plan development. As well as, -spending time improving the ease of development by configuring and maintaining developer tooling and -semi-automated deployment via OTA updates. +Onboard new engineers to the team and help plan development. As well as, spend time improving +the ease of development by configuring and maintaining developer tooling. ## Technologies