FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Deploy WebAssembly cockle and terminal builds to github pages by ianthomas23 · Pull Request #75 · QuantStack/git2cpp · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) dotfile  (1) All 2 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
54 changes: 54 additions & 0 deletions .github/workflows/deploy-wasm.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Deploy WebAssembly cockle and terminal builds to github pages
name: Deploy wasm to github pages

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.14'

- name: Install mamba
uses: mamba-org/setup-micromamba@v2
with:
environment-file: wasm/wasm-environment.yml
cache-environment: true

- name: Build the cockle and JupyterLite terminal deployments
shell: bash -l {0}
working-directory: wasm
run: |
cmake .
make

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./wasm/serve

deploy:
needs: build
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Empty file added .nojekyll
Empty file.

Back | FazBrowse Home | New Git URL