Skip to content
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

Implement Firebase Hosting with GitHub Actions #8

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

lucasferreiralimax
Copy link
Member

This pull request introduces the automation of the deployment process to Firebase Hosting using GitHub Actions. Every time there’s a merge into the main branch, the project will be built and automatically deployed to Firebase Hosting. This ensures that the latest changes are always live and accessible in production.

Changes included:

  • Added the firebase.json file for Firebase Hosting configuration.
  • Created a GitHub Actions workflow to build and deploy the project.
  • Configured the workflow to trigger on pushes to the main branch.

Workflow Overview:

  • The workflow runs on ubuntu-latest.
  • It installs the necessary dependencies and builds the project using npm ci && npm run demo:build.
  • Finally, it deploys the built files to Firebase Hosting using the FirebaseExtended/action-hosting-deploy action, with the necessary authentication details provided via GitHub Secrets.

This automation will streamline the deployment process and ensure a smooth and consistent delivery to Firebase Hosting.

Copy link

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

https://vue-vlibras--pr8-config-ci-cd-gjxlwk3s.web.app

(expires Thu, 31 Oct 2024 23:07:42 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: fa79fa4050579846bc3faf394c3c87b970163ede

@lucasferreiralimax lucasferreiralimax merged commit f6a6a04 into main Oct 24, 2024
2 checks passed
@lucasferreiralimax lucasferreiralimax deleted the config-ci-cd branch October 24, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant