From c4fc5116d89bb1d8571fbe6622426419172a035a Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sat, 16 Sep 2023 18:13:02 -0500 Subject: [PATCH 1/2] docs: fix typo in README.md --- .github/workflows/deploy.yml | 24 ++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..26cfe85 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,24 @@ +name: Client Production Deployment +env: + WORKING_DIRECTORY: . + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} +on: + workflow_dispatch: + push: + paths: + - client/src/** + branches: + - main +jobs: + Deploy-Production: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install Vercel CLI + run: npm install --global vercel@latest + working-directory: ${{ env.WORKING_DIRECTORY }} + - name: Deploy Project to Vercel + run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }} + working-directory: ${{ env.WORKING_DIRECTORY }} diff --git a/README.md b/README.md index 4ce62bd..44940c3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # conveX -An [X](https://twitter.com/home) An X inspired social site that supports following other users, +An [X](https://twitter.com/home) inspired social site that supports following other users, liking posts, and sharing both long and short posts formatted with [Markdown](https://commonmark.org/help/). It was built as a submission for the [WebDevCody](https://www.youtube.com/@WebDevCody) [hackathon](https://hackathon.webdevcody.com/) using... - [TypeScript](https://www.typescriptlang.org/) - JavaScript's uptight brother From bdd6930d772d505eabcc84c0c803f779aaa26620 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sat, 16 Sep 2023 18:43:11 -0500 Subject: [PATCH 2/2] chore: update deploy workflow --- .github/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 26cfe85..66bbf05 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,8 @@ on: workflow_dispatch: push: paths: - - client/src/** + - convex/** + - src/** branches: - main jobs: