fix: deployment #14
This file contains 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
######################################################## | |
# Action to run on pullrequest merge to main # | |
# Staging build and deployment # | |
######################################################## | |
name: Action on Pullrequest push to main | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
install: | |
uses: ./.github/workflows/reusable-install-job.yml | |
build: | |
needs: install | |
uses: ./.github/workflows/reusable-build-job.yml | |
with: | |
environmentName: staging | |
debug: 'true' | |
mode: "" | |
secrets: inherit | |
deploy: | |
needs: [install, build] | |
uses: ./.github/workflows/reusable-deploy-job.yml | |
with: | |
alexaSkillStage: development | |
debug: 'true' | |
target: staging | |
secrets: inherit | |
e2e-test: | |
needs: deploy | |
uses: ./.github/workflows/reusable-e2e-test-job.yml | |
secrets: inherit |