api: remove symfony/phpunit-bridge #13545
Workflow file for this run
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: CD for feature branches | |
on: | |
pull_request_target: | |
types: [opened, reopened, labeled, synchronize] | |
concurrency: | |
group: ${{ github.workflow}}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
build-and-push: | |
if: contains(github.event.pull_request.labels.*.name, 'deploy!') | |
name: Build and push docker images | |
uses: ./.github/workflows/reusable-build-and-push.yml | |
with: | |
sha: ${{ github.event.pull_request.head.sha }} | |
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-dev-deployment.yml | |
with: | |
name: pr${{ github.event.pull_request.number }} | |
sha: ${{ github.event.pull_request.head.sha }} | |
env: feature-branch | |
pr-number: ${{ github.event.pull_request.number }} | |
dropDBOnUninstall: true | |
secrets: inherit |