Skip to content

WASI 세션에 순수 파이썬 패키지 설치 능력 추가 #22

WASI 세션에 순수 파이썬 패키지 설치 능력 추가

WASI 세션에 순수 파이썬 패키지 설치 능력 추가 #22

Workflow file for this run

# GitHub Pages 데모 배포. 빌드 없음(네이티브 ESM): 저장소 파일을 그대로 조립해 올린다.
# GH Pages는 응답 헤더를 못 달지만 실측으로 경로를 확보했다(pythonMachine 캠페인):
# - SAB 없는 데모(machine/terminal/basic)는 헤더 없이 그대로 돈다(noCoiProbe 7/7).
# - SAB 필요한 processOs는 pyprocSw(?coi=1) 헤더 주입 + 1회 새로고침으로 연다(swCoiProbe 4/4).
name: pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: 데모 사이트 조립 (예제 + 라이브러리 + SW 루트 사본 + 랜딩 루트 승격)
run: |
mkdir -p _site
cp -r examples src _site/
cp index.js index.d.ts LICENSE _site/
cp src/capabilities/pyprocSw.js _site/pyprocSw.js
# 랜딩은 examples/index.html이 정본이고 배포 루트로 승격된다(상대 경로가 루트 기준).
mv _site/examples/index.html _site/index.html
- uses: actions/upload-pages-artifact@v3
with:
path: _site
- id: deployment
uses: actions/deploy-pages@v4