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