Skip to content

test resusable action #6

test resusable action

test resusable action #6

name: Trigger Manually Build and Deploy
on:
push:
branches:
- ci/1206449610772777_auto-deployment-fix
jobs:
trigger-build_and_publish:
name: Build and Publish Docker image
runs-on: ubuntu-20.04
steps:
- name: Trigger Build Docker Image workflow
uses: ./.github/workflows/publishOnDHR.yml
trigger-deploy:
name: Deploy
runs-on: ubuntu-20.04
needs: trigger-build_and_publish
steps:
- name: Trigger Deployment workflow
uses: ./.github/workflows/trigger-deployment.yml
trigger-autotest:
name: Autotest
runs-on: ubuntu-20.04
needs: trigger-deploy
steps:
- name: Trigger Autotest workflow
uses: convictional/[email protected]
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
github_token: ${{ secrets.GHACTION }}
workflow_file_name: trigger-autotest.yml
ref: dev
trigger_workflow: true
wait_workflow: true