mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-29 00:06:19 +01:00
29 lines
598 B
YAML
29 lines
598 B
YAML
name: On push
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-0.8.0
|
|
|
|
jobs:
|
|
deploy-docs:
|
|
name: Deploy docs
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ./docs
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: actions/setup-node@master
|
|
with:
|
|
node-version: 12.x
|
|
- run: npm install
|
|
- name: Build docs
|
|
run: npm run build
|
|
- name: Deploy documentation
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./docs/build
|