Merge pull request #43 from StevanFreeborn/stevanfreeborn/chore/deployment

chore: add deploy workflow
This commit is contained in:
Stevan Freeborn
2023-09-16 18:43:47 -05:00
committed by GitHub
2 changed files with 26 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
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:
- convex/**
- 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 }}
+1 -1
View File
@@ -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