Skip to content

Merge pull request #204 from otto-de/B2BDS-210 #92

Merge pull request #204 from otto-de/B2BDS-210

Merge pull request #204 from otto-de/B2BDS-210 #92

Workflow file for this run

name: On Push
on:
push:
branches:
- main
- beta
jobs:
install:
name: Install Dependencies
uses: ./.github/workflows/install.yml
with:
node_version: 18
validations:
name: Validations
needs: [ install ]
uses: ./.github/workflows/validations.yml
with:
node_version: 18
visual_tests:
name: Visual Regression Tests
needs: [ validations ]
if: ${{ !(contains(github.event.head_commit.message, 'chore') || contains(github.event.head_commit.message, 'ci')) }}
uses: ./.github/workflows/visual-test.yml
with:
node_version: 18
deploy_docker_image:
name: Deploy Docker Image
needs: [ visual_tests ]
if: ${{ !(contains(github.event.head_commit.message, 'chore') || contains(github.event.head_commit.message, 'ci')) }}
uses: ./.github/workflows/docker-image.yml
with:
node_version: 18
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKER_PASSWORD }}