From 760bcab75740ce4ad65c68819cd2209d26ac1f64 Mon Sep 17 00:00:00 2001 From: Mykola Fant Date: Wed, 20 Nov 2024 20:06:23 +0200 Subject: [PATCH] Deploy prod on release (#242) The idea is to automate steps 6-7 from here https://docs.google.com/document/d/192d1q7sw4oKX6Fv3q_62PSQeyFTm9hOLhMsGxhNRCn8/edit?tab=t.0#heading=h.3z528y1ctijg Created a separate deployment hook https://app.netlify.com/sites/nifty-wozniak-71a44b/configuration/deploys#build-hooks More info here https://hazelcast.atlassian.net/browse/DOC-263 --- .github/workflows/build-docs.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/build-docs.yml diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml new file mode 100644 index 00000000..049b8ae1 --- /dev/null +++ b/.github/workflows/build-docs.yml @@ -0,0 +1,15 @@ +# This workflow triggers a build of the production documentation site +# if a commit is made to the listed branches + +name: Build production site + +on: + release: + types: [published] + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Trigger build + run: curl -X POST -d {} https://api.netlify.com/build_hooks/673db01c3496b5513b30c92e