Skip to content

Merge pull request #16 from whats-good/kerem/config-5 #23

Merge pull request #16 from whats-good/kerem/config-5

Merge pull request #16 from whats-good/kerem/config-5 #23

Workflow file for this run

name: Docs
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
ci:
name: Docs
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2.2.4
with:
version: 8.6.x
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Docs
run: pnpm docs:generate --frozen
- name: Slack Notification
id: slack
uses: slackapi/slack-github-action@v1.24.0
with:
# For posting a rich message using Block Kit
payload: |
{
"blocks": [
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "GitHub Action DOCS result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK