Skip to content

Add PR preview functionality - #58

Merged
jessealama merged 5 commits into
mainfrom
add-pr-preview-functionality
Sep 11, 2025
Merged

jessealama merged 5 commits into
mainfrom
add-pr-preview-functionality

Conversation

@jessealama

Copy link
Copy Markdown
Collaborator

No description provided.

@jessealama
jessealama requested a review from Copilot September 11, 2025 19:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 adds a GitHub Actions workflow to automatically deploy PR previews using the pr-preview-action. The workflow builds the project and deploys it to a preview environment for each pull request.

  • Adds automated PR preview deployment workflow
  • Configures deployment to gh-pages branch with umbrella directory structure
  • Sets up build process with Node.js 22.x and npm dependencies

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread .github/workflows/pr-preview.yml
Comment thread .github/workflows/pr-preview.yml Outdated
- name: Deploy PR Preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./

Copilot AI Sep 11, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using './' as the source directory may deploy unnecessary files including source code, configuration files, and secrets. Consider specifying a build output directory (e.g., 'dist' or 'build') to only deploy the built artifacts.

Suggested change
source-dir: ./
source-dir: dist

Copilot uses AI. Check for mistakes.
- Remove package-lock.json from .gitignore
- Add generated package-lock.json file
@github-actions

github-actions Bot commented Sep 11, 2025 •

Copy link
Copy Markdown
PR Preview Action v1.6.2
Preview removed because the pull request was closed.
2025-09-11 20:13 UTC

@jessealama
jessealama merged commit 7614d14 into main Sep 11, 2025
4 checks passed
@jessealama
jessealama deleted the add-pr-preview-functionality branch September 11, 2025 20:13
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.

2 participants