Skip to content

Merge pull request #11073 from DefectDojo/release/2.39.1 #3

Merge pull request #11073 from DefectDojo/release/2.39.1

Merge pull request #11073 from DefectDojo/release/2.39.1 #3

---
name: Update DefectDojo Inc. Documentation
on:
push:
branches: [master, dev]
paths:
- docs/**
workflow_dispatch:
jobs:
build:
name: Run Documentation Workflow
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in Documentation Repo
uses: actions/github-script@v7
with:
github-token: ${{ secrets.DOCUMENTATION_TOKEN }}
script: |
const result = await github.rest.actions.createWorkflowDispatch({
owner: 'DefectDojo-Inc',
repo: 'Documentation',
workflow_id: 'deploy-gh-pages-branch.yml',
ref: 'master'
})
console.log(result)