diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index a49eb54eb..6b607838b 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -76,6 +76,21 @@ jobs: "${{ inputs.sha }}" "${{ inputs.event_number }}" + # get the Dockerfile and nginx conf + - name: Sparse checkout + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + if: github.event.action != 'closed' + with: + repository: "grafana/writers-toolkit" + ref: "robbymilo/deploy-preview" + sparse-checkout: | + deploy-preview + + - name: test + run: | + ls -al + ls -al deploy-preview + - name: Set up Docker Buildx uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 with: