diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml new file mode 100644 index 0000000..1f3f372 --- /dev/null +++ b/.github/workflows/e2e-test.yml @@ -0,0 +1,15 @@ +name: E2E Test + +on: + push: + branches: + - 'main' + workflow_dispatch: + +jobs: + e2etest: + runs-on: ubuntu-latest + steps: + - name: Trigger E2E Test + run: | + curl -XPOST -u "sitepark-bot:${{ secrets.BOT_PAT }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/sitepark/atoolo-e2e-test/actions/workflows/e2e-test.yml/dispatches --data '{"ref": "main"}' diff --git a/README.md b/README.md index b55f59b..d59eed2 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ![php](https://img.shields.io/badge/PHP-8.1-blue) ![php](https://img.shields.io/badge/PHP-8.2-blue) ![php](https://img.shields.io/badge/PHP-8.3-blue) +[![E2E Test](https://github.com/sitepark/atoolo-e2e-test/actions/workflows/e2e-test.yml/badge.svg)](https://github.com/sitepark/atoolo-e2e-test/actions/workflows/e2e-test.yml) # Atoolo CityCall bundle