Skip to content

Commit 6c28337

Browse files
committed
ci: deploy Tailwind demo to /tailwind/ subdirectory
- Build Tailwind demo in GitHub Actions workflow - Copy tailwind demo output to demo-dist/tailwind/ - Makes https://sebastian-software.github.io/effective-shadow/tailwind/ work
1 parent a395d64 commit 6c28337

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/demo.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ jobs:
3434

3535
- run: pnpm run build:demo
3636

37+
- name: Build Tailwind demo
38+
run: |
39+
cd demo-tailwind
40+
pnpm install --frozen-lockfile
41+
pnpm run build
42+
43+
- name: Combine demos
44+
run: |
45+
mkdir -p demo-dist/tailwind
46+
cp demo-tailwind-dist/index.html demo-dist/tailwind/
47+
3748
- name: Upload artifact
3849
uses: actions/upload-pages-artifact@v3
3950
with:

0 commit comments

Comments
 (0)