forked from googleapis/google-api-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (23 loc) · 692 Bytes
/
docs.yml
File metadata and controls
26 lines (23 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Generate Documentation
on:
push:
tags:
- "*"
workflow_dispatch:
inputs:
tag:
description: 'Tag to generate documentation for'
required: false
pull_request:
permissions:
contents: write
jobs:
docs:
name: "Generate and Deploy Documentation"
uses: GoogleCloudPlatform/php-tools/.github/workflows/doctum.yml@main
with:
title: "Google Cloud PHP Client"
default_version: ${{ inputs.tag || github.head_ref || github.ref_name }}
exclude_file: aliases.php
tag_pattern: "v2.*"
dry_run: ${{ github.event_name == 'pull_request' }}