From 7a078b55cde4556475128056b09a26e86493ac10 Mon Sep 17 00:00:00 2001 From: Richard Herman <1429781+GeekyEggo@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:32:45 +0100 Subject: [PATCH] build: deploy docs on release (#59) Co-authored-by: Richard Herman --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f39712b..b3bbe3f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,3 +48,11 @@ jobs: run: npm publish --provenance --access public --tag ${{ steps.pkg.outputs.version-tag }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + Documentation: + runs-on: "ubuntu-latest" + needs: [Release] + + steps: + - name: "📄 Deploy documentation" + run: curl --silent --output /dev/null -X POST "${{ secrets.DOCS_DEPLOY_HOOK }}"