doc: move ezp to the usage page #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy documentation | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'doc/**' | |
repository_dispatch: | |
types: [middlewares-update] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Install & Build doc | |
run: | | |
make middlewares-update | |
npm install --prefix doc | |
BASE_URL='/ezpaarse/' NODE_OPTIONS=--openssl-legacy-provider npm --prefix doc run build | |
touch doc/src/.vuepress/dist/.nojekyll | |
- name: Build and Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.2.5 | |
with: | |
branch: gh-pages | |
folder: doc/src/.vuepress/dist |