Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 1 addition & 28 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test-template-and-deploy-demo
name: test-template

on:
push:
Expand All @@ -10,12 +10,6 @@ on:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
generate-and-build:
Expand Down Expand Up @@ -71,24 +65,3 @@ jobs:
- name: Build the demo book
working-directory: /tmp/cc-out/Example Analysis/notebooks
run: uv run jupyter-book build --html

- name: Upload book artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v5
with:
path: "/tmp/cc-out/Example Analysis/notebooks/_build/html"

deploy:
needs: generate-and-build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Setup Pages
uses: actions/configure-pages@v6

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
Loading