Skip to content

Use environment options to create RRActivityInvocationCache (#520) #53

Use environment options to create RRActivityInvocationCache (#520)

Use environment options to create RRActivityInvocationCache (#520) #53

Workflow file for this run

name: Generating API documentation
on:
push:
branches:
- 'master'
jobs:
docs:
name: Generating API documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v1
with:
node-version: 20
- name: Create documentation directory
run: mkdir -p docs/api
- name: Cache phpDocumentor build files
id: phpdocumentor-cache
uses: actions/cache@v3
with:
path: .phpdoc/cache
key: ${{ runner.os }}-phpdocumentor-${{ github.sha }}
restore-keys: |
${{ runner.os }}-phpdocumentor-
- name: Build with phpDocumentor
run: docker run --rm --volume "$(pwd):/data" phpdoc/phpdoc:3.4 -vv --template default
- name: Upload documentation
run: npx vercel deploy docs/api -t ${{ secrets.VERCEL_TOKEN }} --name php --scope temporal --prod --yes