Skip to content

Deploy to QA

Deploy to QA #1

Workflow file for this run

name: Deploy to QA
on:
workflow_run:
workflows: ["CI"]
types:
- completed
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch != 'main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Deploy to QA
run: |
# Replace with your deployment commands
echo "Deploying to QA environment from branch: ${{ github.event.workflow_run.head_branch }}"