mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
33 lines
858 B
YAML
33 lines
858 B
YAML
name: Build Hook Docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- development/2.6.3
|
|
|
|
jobs:
|
|
hookdocs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
- name: npm install, and build docs
|
|
run: |
|
|
npm install
|
|
npm run build:docs
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
- name: PhpDocumentor
|
|
uses: gpupo/actions-phpDocumentor@1.0
|
|
with:
|
|
dir: './'
|
|
- name: Deploy to GH Pages
|
|
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
|
with:
|
|
branch: gh-pages # The branch the action should deploy to.
|
|
folder: 'docs/' # The folder the action should deploy.
|
|
token: ${{ secrets.GH_PAT }}
|