Skip to content

Conversation

@rbarker-dev
Copy link
Contributor

This pull request introduces automated workflows for deploying the project to Firebase Hosting using GitHub Actions. These workflows ensure that the site is deployed both when changes are merged to the main branch and when pull requests are opened, providing preview environments for PRs and live updates for production.

Continuous Deployment and Preview Workflows:

  • Added .github/workflows/firebase-hosting-merge.yml to automatically deploy the site to Firebase Hosting whenever changes are merged into the main branch. This workflow includes steps for runner hardening, code checkout, and deployment to the live channel.
  • Added .github/workflows/firebase-hosting-pull-request.yml to deploy preview versions of the site for each pull request. This workflow manages permissions, hardens the runner, checks out code, and deploys a preview to Firebase Hosting for PRs originating from the same repository.

@github-actions
Copy link

github-actions bot commented Aug 17, 2025

Visit the preview URL for this PR (updated for commit af12f3f):

https://pandas-who-code--pr31-30-add-workflows-to-uz8ukuj9.web.app

(expires Sun, 24 Aug 2025 02:07:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 944ab9b6f429a8ab9d23eeb16d2b92392c397658

@rbarker-dev rbarker-dev merged commit 3ea0f5c into main Aug 20, 2025
7 checks passed
@rbarker-dev rbarker-dev deleted the 30-add-workflows-to-publish branch August 20, 2025 13:58
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.

Add workflows to publish to preview channels for every pull request and live on push to main

3 participants