Skip to content

Commit

Permalink
issue #77: add vercel deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 13, 2023
1 parent f2a69ed commit b3268e9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/vercel-deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Vercel Preview Deployment

on:
push:
branches:
- main
pull_request:

jobs:

vercel-deployment-dev:
uses: ai-cfia/github-workflows/.github/workflows/workflow-vercel-deployment.yml@main
with:
project-name: 'nachet-frontend'
deployment-environment: 'dev'
secrets: inherit

vercel-deployment-uat:
if: github.ref == 'refs/heads/main'
uses: ai-cfia/github-workflows/.github/workflows/workflow-vercel-deployment.yml@main
with:
project-name: 'nachet-frontend'
deployment-environment: 'uat'
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules/**
.vscode/settings.json
.vscode/extensions.json
.env
.vercel
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "nachet-frontend",
"homepage": "https://ai-cfia.github.io/nachet-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand Down

0 comments on commit b3268e9

Please sign in to comment.