-
Notifications
You must be signed in to change notification settings - Fork 0
Create GitHub Actions pipeline for build and deploy #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create GitHub Actions pipeline for build and deploy #9
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a GitHub Actions pipeline to build and deploy the project to Vercel, and updates the README with setup instructions.
- Added a new workflow file (.github/workflows/deploy.yml) for handling both preview and production deployment.
- Updated the README to include instructions for configuring deployment secrets and triggering the new workflow.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/deploy.yml | Configures two jobs for deploying to Vercel based on branch conditions. |
| README.md | Provides instructions for setting up GitHub Actions with Vercel deployment secrets. |
Comments suppressed due to low confidence (2)
.github/workflows/deploy.yml:11
- The branch pattern 'SebastianSchuetze/' in the workflow does not match the 'preview/' pattern described in the README. Consider aligning the branch naming to avoid confusion.
- 'SebastianSchuetze/**'
README.md:308
- The README mentions the branch pattern 'preview/' for triggering preview deployments, which is inconsistent with the workflow's 'SebastianSchuetze/' pattern. It is recommended to update either the README or the workflow for consistency.
- Push changes to any branch matching the pattern `preview/**` to trigger a preview deployment.
Fixes #3 Add GitHub Actions pipeline for building and deploying to Vercel. * **Add GitHub Actions Workflow**: - Create `.github/workflows/deploy.yml` file. - Configure workflow to deploy to preview on non-main branches and to production on the main branch. - Include steps to install dependencies, build the project, and deploy to Vercel. * **Update README**: - Add instructions for setting up the GitHub Actions pipeline and Vercel secrets. - Mention the required secrets: `VERCEL_TOKEN`, `VERCEL_ORG_ID`, `VERCEL_PROJECT_ID`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Ueff24/ueff24-portal/issues/3?shareId=XXXX-XXXX-XXXX-XXXX).
6fb0e3e to
4633ce2
Compare
5bd073f to
a83d445
Compare
…spaces and tab size
…orkflow configuration
…g and UTF-8 support
|
Deployment failed with the following error: |
…wn; exclude migrations and payload-types from TypeScript compilation
…ific directories and files
Fixes #3
Add GitHub Actions pipeline for building and deploying to Vercel.
Add GitHub Actions Workflow:
.github/workflows/deploy.ymlfile.Update README:
VERCEL_TOKEN,VERCEL_ORG_ID,VERCEL_PROJECT_ID.For more details, open the Copilot Workspace session.