Skip to content

Commit

Permalink
Add docs publication trigger for all branches (asciidoctor#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero authored Feb 17, 2024
1 parent 1ccce6f commit 083ab61
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy Docs
on:
push:
branches:
- main
- v2.2.x
paths: [ 'docs/**' ]
permissions: read-all
jobs:
build:
if: github.repository_owner == 'asciidoctor'
runs-on: ubuntu-latest
steps:
- name: Trigger
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_SCOPE_REPO }}
run: gh workflow run trigger.yml -R asciidoctor/docs.asciidoctor.org -r main

0 comments on commit 083ab61

Please sign in to comment.