git.iko.soy/rowtype-yoga/purescript-yoga-heroui3
on main help sign in
Pages: inline deploy steps (reusable workflow call failed validation)
commitb4b7452ea9a4f51b7ddec59dfaf8ac6ed8ac8818 authorMark <mark.eibes@googlemail.com> dateMon 1 Jun 2026, 07:47 (4 months ago) parent6a0183e
1 file changed+37−2
unifiedsplit
.github/workflows/deploy-stories.yml+37−2
.github/workflows/deploy-stories.yml+37−2
@@ -15,5 +15,40 @@ concurrency:
1515 cancel-in-progress: true
1616
1717jobs:
18− deploy:
19− uses: rowtype-yoga/purescript-yoga-stories/.github/workflows/deploy-stories.yml@v0.1.13
18+ build-and-deploy:
19+ runs-on: ubuntu-latest
20+ environment:
21+ name: github-pages
22+ url: ${{ steps.deployment.outputs.page_url }}
23+ steps:
24+ - uses: actions/checkout@v4
25+
26+ - uses: oven-sh/setup-bun@v2
27+ with:
28+ bun-version: latest
29+
30+ - uses: purescript-contrib/setup-purescript@main
31+ with:
32+ purescript: "0.15.15"
33+ spago: "0.93.42"
34+
35+ - run: npm install -g purs-backend-es@1.4.2
36+
37+ - name: Install JS dependencies
38+ run: |
39+ rm -f bun.lock
40+ npm install
41+ test -f node_modules/vite/dist/node/chunks/config.js || npm install vite@7.3.1
42+
43+ - run: spago build
44+
45+ - run: npx yoga-stories build
46+
47+ - uses: actions/configure-pages@v5
48+
49+ - uses: actions/upload-pages-artifact@v3
50+ with:
51+ path: dist
52+
53+ - uses: actions/deploy-pages@v4
54+ id: deployment