From c33fc03fd64776b2e64d426058bf50c0d970dc96 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 31 Oct 2023 14:37:02 +0100 Subject: [PATCH] Checkout source code when uploading artifacts index (#2892) The index.html file comes from the repository source directory. Make sure it is checked out when regenerating the artifacts index. --- .github/workflows/artifacts-index.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/artifacts-index.yaml b/.github/workflows/artifacts-index.yaml index c3652a4ec..bdfa253dd 100644 --- a/.github/workflows/artifacts-index.yaml +++ b/.github/workflows/artifacts-index.yaml @@ -25,6 +25,11 @@ jobs: name: Build Home Assistant OS artifacts index runs-on: ubuntu-22.04 steps: + - name: Checkout source + uses: actions/checkout@v4 + with: + persist-credentials: false + - name: Setup Python version ${{ env.PYTHON_VERSION }} uses: actions/setup-python@v4 with: