fix(ci): vercel static build

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-06-17 16:34:02 -03:00
parent a9fd31fa97
commit 4882060a62
4 changed files with 8 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ jobs:
run: |
pnpm install
go install github.com/a-h/templ/cmd/templ@latest
make build-vercel
make build/static
- name: Deploy
uses: BetaHuhn/deploy-to-vercel-action@v1
with:

View File

@@ -37,7 +37,7 @@ jobs:
run: |
pnpm install
go install github.com/a-h/templ/cmd/templ@latest
make build-vercel
make build/static
- name: Deploy
uses: BetaHuhn/deploy-to-vercel-action@v1
with:

View File

@@ -37,7 +37,7 @@ jobs:
run: |
pnpm install
go install github.com/a-h/templ/cmd/templ@latest
make build-vercel
make build/static
- name: Deploy
uses: BetaHuhn/deploy-to-vercel-action@v1
with:

View File

@@ -5,6 +5,11 @@ build:
templ generate
go build -o bin/www
build/static:
pnpm unocss
templ generate
go run ./cmd/build
dev/templ:
templ generate --watch \
--proxy=http://localhost:$(PORT) \