Files
ultimatemember/.github/workflows/build-docs.yml
T
Mykyta Synelnikov 936190d93e - updated using get_option( 'permalink_structure' ) to UM()->is_permalinks which is the same;
- code review for WPML profile links;
- fixed User Profile tabs and subtabs link with WPML arguments in link;
- added deprecated function to outdated `um_rel_canonical_()`. @todo remove since 2.7.0;
- fixed WPCS in class-permalinks.php;
- deprecated `um_localize_permalink_filter`. Use `post_link` instead;
- added new hooks: `um_profile_permalink`,`um_external_profile_url` and new docs for them;
- added new hookdocs for `um_get_current_page_url`;
- temporarily added development/2.6.3 branch to build-docs.yml
2023-06-09 12:28:15 +03:00

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 }}