Skip to content

ci: Fix manual documentation release #498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2023
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