diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dffe3d..2cf426d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,3 +54,13 @@ jobs: ./gradlew build artifactoryPublish \ -PartifactoryUsername="$ARTIFACTORY_USERNAME" \ -PartifactoryPassword="$ARTIFACTORY_PASSWORD" + docs: + runs-on: ubuntu-latest + needs: [publish] + steps: + - uses: actions/checkout@v3 + - name: Dispatch (partial build) + if: github.ref_type == 'branch' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh workflow run deploy-docs.yml -r $(git rev-parse --abbrev-ref HEAD) -f build-refname=${{ github.ref_name }}