Skip to content

Commit

Permalink
feat: configure slack notification on documentation change
Browse files Browse the repository at this point in the history
* fix: continuous integration
  • Loading branch information
FabienArcellier committed Sep 24, 2024
1 parent 3f423ab commit 1c26d26
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/doc-notify.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: doc-notify

on:
pull_request:
Expand All @@ -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 }}

0 comments on commit 1c26d26

Please sign in to comment.