Skip to content

Remove rogue if condition in main.yml workflow #9

Remove rogue if condition in main.yml workflow

Remove rogue if condition in main.yml workflow #9

Workflow file for this run

name: Main branch workflow
on:
push:
branches:
- 'main'
jobs:
common:
uses: ./.github/workflows/common.yml
test:
needs: common
strategy: ${{ fromJson(needs.common.outputs.strategy) }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
environment: publishing
steps:
- uses: actions/checkout@v3
- name: Prepare Environment
run: ${{ matrix.runs.prepare }}
- name: Pull Dependencies
run: ${{ matrix.runs.pull }}
- name: Build ${{ matrix.name }}
run: ${{ matrix.runs.build }}
- name: History ${{ matrix.name }}
run: ${{ matrix.runs.history }}
- name: Test ${{ matrix.name }}
run: ${{ matrix.runs.test }}
- name: '"docker images"'
run: ${{ matrix.runs.images }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push ${{ matrix.name }}
run: docker push --all-tags aaronmchale/drupal-php