Skip to content

Commit 2f408ce

Browse files
committed
configure ci to autodeploy docs
1 parent 59ff574 commit 2f408ce

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44

55
jobs:
66
test:
7+
if: false
78
runs-on: ubuntu-latest
89
strategy:
910
matrix:
@@ -45,10 +46,13 @@ jobs:
4546
uses: actions/setup-node@v4
4647
with:
4748
node-version: 22
48-
- name: Install dependencies and build app
49-
run: pnpm -C docs-src install && pnpm -C docs-src add github:AlexanderMac/o2diff && pnpm -C docs-src run build:prod
49+
- name: CD into docs-src
50+
run cd docs-src
51+
- name: Install dependencies
52+
run: pnpm i && pnpm add github:AlexanderMac/o2diff
53+
- name: Build app
54+
run: pnpm build:prod
5055
- name: Upload demo build as artifact
51-
id: deployment
5256
uses: actions/upload-pages-artifact@v3
5357
with:
5458
path: docs-src/dist/browser/

0 commit comments

Comments
 (0)