From edd7de85111fa48839aca645e0ad3b2177c51c14 Mon Sep 17 00:00:00 2001 From: maffettone Date: Thu, 28 Sep 2023 14:58:19 -0700 Subject: [PATCH 1/2] mnt: gha for docs --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8df1f69..e193935 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -52,7 +52,7 @@ jobs: with: deploy_key: ${{ secrets.ACTIONS_DOCUMENTATION_DEPLOY_KEY }} publish_branch: master - publish_dir: build/html + publish_dir: ./docs/build/html external_repository: bluesky/bluesky.github.io destination_dir: ${{ env.REPOSITORY_NAME }} # just the repo name, without the "bluesky/" keep_files: true # Keep old files. From b496189093afa56cf39150e509bf3640c5701aed Mon Sep 17 00:00:00 2001 From: maffettone Date: Thu, 28 Sep 2023 15:03:23 -0700 Subject: [PATCH 2/2] mnt: fix the main branch to main --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e193935..b922604 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -45,7 +45,7 @@ jobs: - name: Deploy documentation to blueskyproject.io. - if: github.repository_owner == 'bluesky' && github.ref_name == 'master' + if: github.repository_owner == 'bluesky' && github.ref_name == 'main' # We pin to the SHA, not the tag, for security reasons. # https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3