From 1c26d26c1b30adfb2e9550f13a59c4f57bfd5a31 Mon Sep 17 00:00:00 2001 From: Fabien Arcellier Date: Tue, 24 Sep 2024 21:19:50 +0200 Subject: [PATCH] feat: configure slack notification on documentation change * fix: continuous integration --- .github/workflows/doc-notify.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/doc-notify.yml b/.github/workflows/doc-notify.yml index 1ab3ef261..a1908cff3 100644 --- a/.github/workflows/doc-notify.yml +++ b/.github/workflows/doc-notify.yml @@ -1,4 +1,4 @@ -name: ci +name: doc-notify on: pull_request: @@ -19,11 +19,20 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: + python-version: "3.12" cache: 'poetry' + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: "20.x" + cache: npm + - name: install python3 environment run: poetry install --with build - name: notify slack channel - run: poetry run alfred github.notify-changes-doc --slack-webhook ${{ secrets.SLACK_WEBHOOK_DOC }} + run: poetry run alfred github.notify-changes-doc --slack-webhook $SLACK_WEBHOOK_DOC + env: + SLACK_WEBHOOK_DOC: ${{ secrets.SLACK_WEBHOOK_DOC }}