Skip to content

Adding previews for PRs #552

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

Merged
merged 1 commit into from
May 5, 2025
Merged

Adding previews for PRs #552

merged 1 commit into from
May 5, 2025

Conversation

blckmn
Copy link
Member

@blckmn blckmn commented May 3, 2025

This pull request introduces a new GitHub Actions workflow for preview deployments and makes a minor improvement to an existing deployment workflow. The most significant change is the addition of the .github/workflows/deploy-preview.yml file, which automates the process of building and deploying preview environments for pull requests. Additionally, a small adjustment was made to the deploy.yaml workflow for consistency.

New Preview Deployment Workflow:

  • Added a new workflow file: .github/workflows/deploy-preview.yml to automate preview deployments for pull requests targeting the master branch. This workflow includes steps for checking out code, caching dependencies, setting up Node.js, building the package, deploying to Cloudflare, and adding a deployment comment with a preview URL.

Improvements to Existing Deployment Workflow:

  • Renamed a step for clarity: Updated the setup-node step in .github/workflows/deploy.yaml to include a name field for better readability and consistency with other steps.

@blckmn blckmn self-assigned this May 3, 2025
Copy link

sonarqubecloud bot commented May 3, 2025

Copy link

Deploying betaflight-com with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1a15908
Status: ✅  Deploy successful!
Preview URL: https://550f8fd1.betaflight-com.pages.dev
Branch Preview URL: https://preview-builds.betaflight-com.pages.dev

View logs

@nerdCopter
Copy link
Member

it is not clear to me what the second one is for:
image

@haslinghuis haslinghuis merged commit 033890d into master May 5, 2025
7 checks passed
@haslinghuis haslinghuis deleted the preview_builds branch May 5, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants