diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 632c9c32..e4ad59c9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,11 +5,20 @@ on: branches: - main + workflow_dispatch: + inputs: + ref: + description: 'Git ref, workflow_dispatch' + required: false + default: '' + jobs: build-and-selftest: - if: github.head_ref != 'gitlab-main' + if: github.event_name == 'workflow_dispatch' || github.head_ref != 'gitlab-main' runs-on: ubuntu-latest + environment: magento-playwright + env: PLAYWRIGHT_BASE_URL: https://hyva-demo.elgentos.io/ PLAYWRIGHT_PRODUCTION_URL: https://hyva-demo.elgentos.io/