From bb0044ecd5d67628b87573e8f3026f7c87af5208 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 }}