From d99af4b06f076de57acf46b052a9a3e5b5a28adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Wed, 15 Apr 2020 16:40:00 +0200 Subject: [PATCH] Send event to c2cgeoportal --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b68e4e175b2d..431b2757736c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -87,3 +87,11 @@ jobs: if: github.repository == 'camptocamp/ngeo' - run: buildtools/npm-publish if: github.repository == 'camptocamp/ngeo' + + - name: Notify c2cgeoportal + run: > + curl --request POST --header "Content-Type: application/json" + --header 'Accept: application/vnd.github.groot-preview+json' + --header "Authorization: token ${{ env.GITHUB_GOPASS_CI_TOKEN }}" + https://api.github.com/repos/camptocamp/c2cgeoportal/dispatches + --data '{"event_type": "ngeo_25_updated"}'