From a08ffe44ffa8aaf4869dc2e30fdf4e816273d1b4 Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sat, 9 Aug 2025 23:25:28 +0300 Subject: [PATCH] .tangled/workflows: deploy using ci Signed-off-by: Anirudh Oppiliappan --- .tangled/workflows/deploy.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .tangled/workflows/deploy.yaml diff --git a/.tangled/workflows/deploy.yaml b/.tangled/workflows/deploy.yaml new file mode 100644 index 0000000..e8e2c71 --- /dev/null +++ b/.tangled/workflows/deploy.yaml @@ -0,0 +1,15 @@ +when: + - event: ["push"] + branch: ["master"] + +dependencies: + nixpkgs: + - nodejs + +steps: + - name: build site + command: | + nix develop --command bash -c 'vite build' + - name: deploy with wrangler + command: | + npx --yes wrangler pages deploy --branch master --project-name site ./build/ -- knotmirror 0.0.1