Merge pull request #5892 from ecamp/renovate/webonyx-graphql-php-15.x #54
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
name: CI + CD for staging and prod | |
on: | |
push: | |
branches: | |
- staging | |
- prod | |
tags: | |
- staging | |
- prod | |
workflow_dispatch: | |
jobs: | |
continuous-integration: | |
name: 'Continuous integration' | |
uses: ./.github/workflows/continuous-integration.yml | |
build-and-push: | |
name: Build and push docker images | |
needs: continuous-integration | |
uses: ./.github/workflows/reusable-build-and-push.yml | |
with: | |
tag: ${{ github.ref_name }} | |
secrets: | |
DOCKER_HUB_USERNAME: ${{ vars.DOCKER_HUB_USERNAME }} | |
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
upgrade-or-install-deployment: | |
name: Upgrade or install deployment | |
needs: build-and-push | |
uses: ./.github/workflows/reusable-stage-prod-deployment.yml | |
secrets: inherit |