openiddict-documentation/.github/workflows/build.yml
2020-07-03 21:58:02 +02:00

33 lines
748 B
YAML

name: build
on:
push:
branches: [ dev, rel/* ]
tags: [ '*' ]
pull_request:
branches: [ dev, rel/* ]
jobs:
build:
name: ubuntu-latest
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build documentation
uses: nikeee/docfx-action@master
with:
args: docfx.json
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GH_PAGES_ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
GIT_CONFIG_NAME: OpenIddict Bot
GIT_CONFIG_EMAIL: 32257313+openiddict-bot@users.noreply.github.com
COMMIT_MESSAGE: Update the documentation pages