Skip to content

Improve components and spaces sharing with administrable tokens (#13221) #1

Improve components and spaces sharing with administrable tokens (#13221)

Improve components and spaces sharing with administrable tokens (#13221) #1

name: "On docs update"
on:
push:
branches:
- develop
paths:
- 'docs/**'
jobs:
trigger_documentation_build:
name: Trigger decidim/documentation build
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Send dispatch for trigger_build workflow
run: |
curl --fail --show-error \
--request POST \
--user "decidim-bot:${{ secrets.DOCS_WORKFLOW_PAT }}" \
--header "Accept: application/vnd.github.everest-preview+json" \
--header "Content-Type: application/json" \
https://api.github.com/repos/decidim/documentation/actions/workflows/trigger_build.yml/dispatches \
--data '{"ref": "develop"}'