diff --git a/.github/workflows/onPushToMain.yml b/.github/workflows/onPushToMain.yml index f9609f8..e98d492 100644 --- a/.github/workflows/onPushToMain.yml +++ b/.github/workflows/onPushToMain.yml @@ -16,6 +16,7 @@ jobs: # most repos won't use this # depends on previous job to avoid git collisions, not for any functionality reason docs: + if: ${{ github.ref_name == 'main' }} uses: salesforcecli/github-workflows/.github/workflows/publishTypedoc.yml@main secrets: inherit needs: release