Skip to content

Commit

Permalink
Modify documentation CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bonicim committed May 29, 2024
1 parent b28396b commit 70d7762
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
name: Docs
name: Documentation

on: [push, workflow_dispatch]
on:
push:
branches: [ master, develop, release/** ]
pull_request:
types: [ opened, synchronize, reopened ]
workflow_dispatch:
inputs:
triggeredBy:
description: 'Name of team member who is manually triggering this workflow'
required: true

permissions:
contents: write

jobs:
test:
build-docs:
runs-on: ubuntu-latest
steps:
- run: |
echo "This workflow was triggered by: $TRIGGER_PERSON"
env:
TRIGGER_PERSON: ${{ inputs.triggeredBy }}
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."

#----------------------------------------------
# check-out repo and set-up python
#----------------------------------------------
Expand Down

0 comments on commit 70d7762

Please sign in to comment.