Add Contrib repo checkout for docs build
@@ -10,12 +10,20 @@ on:
- 'instrumentation/**'
- 'opentelemetry-python/opentelemetry-api/src/opentelemetry/**'
- 'opentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/**'
+env:
+ CONTRIB_REPO_SHA: master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
+ - name: Checkout Contrib Repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
+ uses: actions/checkout@v2
+ with:
+ repository: open-telemetry/opentelemetry-python-contrib
+ ref: ${{ env.CONTRIB_REPO_SHA }}
+ path: opentelemetry-python-contrib
- name: Set up Python py38
uses: actions/setup-python@v2
with:
