From 0bee39e827158905b4b0f21eb2da36881cdb8be0 Mon Sep 17 00:00:00 2001 From: Jon Carifio Date: Tue, 12 Nov 2024 16:15:41 -0500 Subject: [PATCH] Add workflow job for deploying to GitHub Pages --- .github/workflows/ci_workflows.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 5456f5f..def3cdd 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -65,6 +65,20 @@ jobs: - windows: py311-glue119-test - windows: py311-glue120-test + pages: + needs: initial_checks + if: github.event_name != 'pull_request' + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: docs + publish: needs: tests uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1