diff --git a/.github/workflows/quality-gate.yml b/.github/workflows/quality-gate.yml index d3144e7b..1d32c470 100644 --- a/.github/workflows/quality-gate.yml +++ b/.github/workflows/quality-gate.yml @@ -81,7 +81,7 @@ jobs: name: Bump Version runs-on: ubuntu-latest needs: [web, security-audit] - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') outputs: new_version: ${{ steps.bump.outputs.version }} @@ -121,7 +121,7 @@ jobs: name: Deploy app.pezkuwichain.io runs-on: ubuntu-latest needs: [bump-version] - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') steps: - name: Download build artifact @@ -152,7 +152,7 @@ jobs: name: Deploy pex.mom runs-on: ubuntu-latest needs: [bump-version] - if: github.ref == 'refs/heads/main' && github.event_name == 'push' + if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') steps: - name: Download build artifact