MPP-4186 - test(misc): add test coverage for Miscellaneous pages and … #369
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy to MozCloud environment | |
| on: | |
| push: | |
| branches: [ '**' ] | |
| tags: ['*'] | |
| workflow_dispatch: | |
| inputs: | |
| environment: | |
| description: Environment to deploy | |
| required: true | |
| default: stage | |
| type: choice | |
| options: | |
| - dev | |
| - stage | |
| - prod | |
| jobs: | |
| build-and-deploy-dev: | |
| uses: ./.github/workflows/build-and-push-to-gar.yml | |
| # Allow this to run when a push to main happens | |
| # or we call the dispatch | |
| if: > | |
| github.ref == 'refs/heads/main' || | |
| github.event_name == 'workflow_dispatch' | |
| with: | |
| image_tag_metadata: ${{ inputs.environment || 'dev' }} |