From 23f0d54533e07e90264fb47a87e476fb37f51ad0 Mon Sep 17 00:00:00 2001 From: Holger Veltrup Date: Mon, 3 Jun 2024 11:35:45 +0200 Subject: [PATCH] test: add trigger e2e test --- .github/workflows/e2e-test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/e2e-test.yml 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"}'