Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/release-manual-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tag:
default: ''
description: 'Version tag:'
env:
NODE_VERSION: 16.17.1
PHP_VERSION: 8.1
jobs:
docs-publish:
if: github.event.inputs.tag != ''
Expand All @@ -17,19 +20,16 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Cache Node.js modules
uses: actions/cache@v3
node-version: ${{ env.NODE_VERSION }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
php-version: ${{ env.PHP_VERSION }}
- name: Generate Docs
run: |
npm ci
composer install
npm run document-check
npm run documentation
npm run document
env:
SOURCE_TAG: ${{ github.event.inputs.tag }}
- name: Deploy
Expand Down