Search⌘ K
AI Features

Test & Optimize The New Workflow

Explore how to test workflows without merging pull requests and optimize your continuous deployment pipeline with GitHub Actions. Understand how to configure triggers for specific branch pushes and service path changes to ensure efficient and targeted automated deployments to Firebase Hosting.

Testing the new workflow

The current workflow only executes for pull requests merged into the master branch. In order to test the workflow without merging the pull request, let’s temporarily also execute the workflow for any push to the current branch, e.g. add-deployment-github-action (our current branch).

In the .github/workflows/services-web-deploy.yml file, update the “on” configuration using nano to match the following:

Nano editor instructions:

  • Ctrl+o and then press Enter to save.
  • Ctrl+x to exit.
on: #
...