diff --git a/.github/workflows/documentation.yml b/.github/workflows/triggers.yml similarity index 51% rename from .github/workflows/documentation.yml rename to .github/workflows/triggers.yml index f14d96eaf6..965338d99a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/triggers.yml @@ -1,4 +1,4 @@ -name: Documentation +name: Master triggers on: push: @@ -12,9 +12,16 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Repository Dispatch + - name: Trigger doc build uses: peter-evans/repository-dispatch@v2 with: token: ${{ secrets.DEPLOY_DOC_PAT }} repository: devitocodes/devitoproject.org - event-type: deploy-docs \ No newline at end of file + event-type: deploy-docs + + - name: Trigger pro submodule update + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.PRO_SUBMODULE }} + repository: devitocodespro/devitopro + event-type: update-submodule \ No newline at end of file