From 6ed348af3c83ce8abfd757e49ae862bd04bf0ed7 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Fri, 3 Nov 2023 12:47:23 -0400 Subject: [PATCH] Add ltd-upload action This action in the build_docs GitHub Action workflow uploads the package documentation to daf-butler-migrate.lsst.io. --- .github/workflows/build_docs.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index d6c0577..218e467 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -46,3 +46,11 @@ jobs: DAF_BUTLER_MIGRATE_MIGRATIONS: ./migrations working-directory: ./doc run: package-docs build -n -W + + - name: Upload to LSST the Docs + uses: lsst-sqre/ltd-upload@v1 + with: + project: 'daf-butler-migrate' + dir: 'doc/_build/html' + username: ${{ secrets.LTD_USERNAME }} + password: ${{ secrets.LTD_PASSWORD }}