From 33aaad85e292b1a5e1576a6047adb80fea14eab6 Mon Sep 17 00:00:00 2001 From: juancwu Date: Sun, 3 May 2026 22:21:28 +0000 Subject: [PATCH] fix: deploy steps failing due to missing files --- .forgejo/workflows/deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index a12108f..36cd0a3 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -22,6 +22,10 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + - name: Generate assets + # output.css is .gitignore'd; the embed.FS test asserts it serves, + # so the CSS must exist on disk before `go test` compiles the embed. + run: tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css - name: Run tests env: BUDGIT_TEST_POSTGRES_URL: 'postgres://budgit_test:testpass@postgres:5432/budgit_test?sslmode=disable'