From ad426600be899eaabfd6fe9ddfef54024c2488e0 Mon Sep 17 00:00:00 2001 From: Anthony van Winkle Date: Mon, 12 Aug 2024 11:58:34 -0700 Subject: [PATCH] Explict action to deploy pages --- .github/workflows/deploy-version.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-version.yaml b/.github/workflows/deploy-version.yaml index 7ddf407757..8cb945ab48 100644 --- a/.github/workflows/deploy-version.yaml +++ b/.github/workflows/deploy-version.yaml @@ -7,7 +7,7 @@ on: - "0.80" jobs: - deploy: + setup: runs-on: ubuntu-latest steps: - name: Check out code @@ -25,6 +25,10 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt + build: + runs-on: ubuntu-latest + needs: setup + steps: - name: Generate project showcase pages from .yaml files run: python build_tools/generate_showcase_pages.py @@ -49,3 +53,16 @@ jobs: if: ${{ github.ref_name == 'main' }} run: | mike deploy --push --update-aliases 0.57 latest + + deploy: + runs-on: ubuntu-latest + needs: build + steps: + - name: Upload Artifact + uses: actions/upload-pages-artifact@v2 + with: + # upload entire directory + path: '.' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2