mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
ci: allow workflow dispatches
This commit is contained in:
7
.github/workflows/documentation.yml
vendored
7
.github/workflows/documentation.yml
vendored
@@ -7,6 +7,11 @@ on:
|
|||||||
- '!docs'
|
- '!docs'
|
||||||
tags:
|
tags:
|
||||||
- '**'
|
- '**'
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
ref:
|
||||||
|
description: 'The branch, tag or SHA to checkout'
|
||||||
|
required: true
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build documentation
|
name: Build documentation
|
||||||
@@ -19,6 +24,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: github.event.inputs.ref || ''
|
||||||
|
|
||||||
- name: Install node.js v16
|
- name: Install node.js v16
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user