diff --git a/.github/workflows/vercel-deployment.yml b/.github/workflows/vercel-deployment.yml new file mode 100644 index 0000000..bb3cf53 --- /dev/null +++ b/.github/workflows/vercel-deployment.yml @@ -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 diff --git a/.gitignore b/.gitignore index 57a2d0d..a21f83d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules/** .vscode/settings.json .vscode/extensions.json .env +.vercel diff --git a/package.json b/package.json index 388e537..e67cca9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,5 @@ { "name": "nachet-frontend", - "homepage": "https://ai-cfia.github.io/nachet-frontend", "version": "0.1.0", "private": true, "dependencies": {