ci: Add manual trigger

This commit is contained in:
patrick96 2020-12-12 01:15:49 +01:00 committed by Patrick Ziegler
parent cf739ed295
commit 95537f458d

View File

@ -1,5 +1,12 @@
name: CI name: CI
on: [push, pull_request] on:
workflow_dispatch:
inputs:
ref:
description: 'ref'
required: false
push:
pull_request:
jobs: jobs:
docs: docs:
@ -8,6 +15,8 @@ jobs:
COLOR: "ON" COLOR: "ON"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.ref }}
- name: Install Dependencies - name: Install Dependencies
run: sudo apt-get install -y python3-sphinx run: sudo apt-get install -y python3-sphinx
- name: Build Documentation - name: Build Documentation
@ -71,6 +80,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: true submodules: true
ref: ${{ github.event.inputs.ref }}
- name: Summary - name: Summary
run: ./common/ci/summary.sh run: ./common/ci/summary.sh
- name: Configure - name: Configure