Skip to content

Update ci.yml

Update ci.yml #99

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
jobs:
docs:
name: Build and publish Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run docs
- name: Deploy pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/
- name: action-slack
uses: 8398a7/[email protected]
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()