Skip to content

Commit

Permalink
Update staging
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Jun 2, 2024
1 parent 81046d1 commit d7aaa94
Showing 1 changed file with 45 additions and 4 deletions.
49 changes: 45 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,50 @@ jobs:
# Back to our regularly scheduled Quarto output
- name: "Set up Quarto"
uses: quarto-dev/quarto-actions/setup@v2
with:
version: "pre-release"

# Generate the documentation website
- name: Render Documentation website
uses: quarto-dev/quarto-actions/render@v2
with:
path: "docs"

- name: Render assign-template
uses: quarto-dev/quarto-actions/render@v2
with:
path: "demo/qassign-demo-document.qmd"
env:
QUARTO_PROFILE: assign

- name: Render solution-template
uses: quarto-dev/quarto-actions/render@v2
with:
path: "demo/qassign-demo-document.qmd"
env:
QUARTO_PROFILE: solution

- name: Render solution-template
uses: quarto-dev/quarto-actions/render@v2
with:
path: "demo/qassign-demo-document.qmd"
env:
QUARTO_PROFILE: rubric

# Collect the output into the staging/ directory
- name: Copy documentation portal & examples into the staging directory
run: |
mkdir -p staging/demo && \
cp -rp docs/_site/* staging/ && \
cp -rp demo/{solution,assign,rubric}/* staging/demo
# Remove symlinks
- name: Delete symlinks
run: |
rm -rf staging/*/_extensions
- name: "Render and Publish"
uses: quarto-dev/quarto-actions/publish@v2
# Publish the docs directory onto gh-pages
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
target: gh-pages
path: docs
folder: staging # The folder the action should deploy.

0 comments on commit d7aaa94

Please sign in to comment.