Skip to content

Commit

Permalink
Explict action to deploy pages
Browse files Browse the repository at this point in the history
  • Loading branch information
avanwinkle committed Aug 12, 2024
1 parent 0e2d960 commit ad42660
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/deploy-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "0.80"

jobs:
deploy:
setup:
runs-on: ubuntu-latest
steps:
- name: Check out code
Expand All @@ -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

Expand All @@ -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

0 comments on commit ad42660

Please sign in to comment.