Skip to content

Conversation

@SebastianSchuetze
Copy link
Contributor

@SebastianSchuetze SebastianSchuetze commented Feb 16, 2025

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 secrets for Vercel.
    • Mention the required secrets: VERCEL_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID.

For more details, open the Copilot Workspace session.

@vercel
Copy link

vercel bot commented Feb 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ueff24-portal ❌ Failed (Inspect) Feb 16, 2025 8:06pm

Copy link
Contributor

Copilot AI left a 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).
@SebastianSchuetze SebastianSchuetze force-pushed the SebastianSchuetze/add-github-actions-pipeline branch from 6fb0e3e to 4633ce2 Compare March 11, 2025 20:26
@SebastianSchuetze SebastianSchuetze force-pushed the SebastianSchuetze/add-github-actions-pipeline branch from 5bd073f to a83d445 Compare March 13, 2025 21:15
@findmydoc-platform findmydoc-platform deleted a comment from vercel bot Mar 15, 2025
@findmydoc-platform findmydoc-platform deleted a comment from vercel bot Mar 15, 2025
@vercel
Copy link

vercel bot commented Mar 15, 2025

Deployment failed with the following error:

Creating the Deployment Timed Out.

Sebastian S Schütze added 3 commits March 15, 2025 21:50
@SebastianSchuetze SebastianSchuetze deleted the SebastianSchuetze/add-github-actions-pipeline branch March 16, 2025 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create GitHub Actions pipeline for a basic build and deploy to preview and production

1 participant