-
-
Notifications
You must be signed in to change notification settings - Fork 571
35 lines (33 loc) · 840 Bytes
/
docs.yaml
File metadata and controls
35 lines (33 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: docs
on:
push:
branches: master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install
uses: borales/actions-yarn/@v2.0.0
with:
cmd: install
- name: Generate tsdoc
uses: borales/actions-yarn/@v2.0.0
with:
cmd: build-docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v2.8.0
env:
PERSONAL_TOKEN: ${{ secrets.ACCESS_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./docs
with:
emptyCommits: false
keepFiles: true
- name: notification
if: cancelled() == false
uses: xinthink/action-telegram@v1.1
with:
botToken: ${{ secrets.TelegramBotToken }}
chatId: ${{ secrets.TelegramTarget }}
jobStatus: ${{ job.status }}