8000 GitHub Actions Fail When The hubDatabase Function Is Used · Issue #623 · nuxt-hub/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
GitHub Actions Fail When The hubDatabase Function Is Used #623
Open
@Eli-Sterken

Description

@Eli-Sterken

Describe the bug
When you deploy a NuxtHub project that uses a D1 database using GitHub actions, the action always fails, saying "Missing Cloudflare DB Binding (D1)." When you test the same code locally, it works just fine.

Steps to reproduce
Steps to reproduce the behavior:

  1. Create a fresh Nuxt project, and deploy it using NuxtHub, with database: true, using GitHub actions
  2. Push some new code to GitHub that uses the hubDatabase function
  3. The action will fail with error "Missing Cloudflare DB binding (D1)"

Expected behavior
The GitHub action will succeed, and the code will be successfully deployed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0