Skip to content

NuxtUI Pro will not deploy to NuxtHub #430

Closed
@ratracegrad

Description

@ratracegrad

I have deployed my app multiple times to NuxtHub. I have added NuxtUI Pro. It will not deploy because of my NuxtUIPro is not being read.

My NuxtUI Pro license is validated.

I have updated my nuthub.yml file to be:

name: Deploy to NuxtHub
on: push

jobs:
  deploy:
    name: "Deploy to NuxtHub"
    runs-on: ubuntu-latest
    environment:
      name: ${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }}
      url: ${{ steps.deploy.outputs.deployment-url }}
    permissions:
      contents: read
      id-token: write

    steps:
      - uses: actions/checkout@v4

      - name: Install pnpm
        uses: pnpm/action-setup@v4

      - name: Install Node.js
        uses: actions/setup-node@v4
        with:
          node-version: 22
          cache: 'pnpm'

      - name: Install dependencies
        run: pnpm install

      - name: Build application
        run: pnpm build
        env:
          NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}

      - name: Deploy to NuxtHub
        uses: nuxt-hub/action@v1
        id: deploy
        with:
          project-key: three-quartiles-4h4d

In my NuxtHub admin in Environments I have my NUXT_UI_PRO_LICENSE and it is deplyed as you can see in this screenshot:

Image

The Deploy to NuxtHub task fails with:

[info] Running with compatibility version `4`
[info] [nuxi] Building for Nitro preset: `cloudflare-pages`
Error:  Missing `NUXT_UI_PRO_LICENSE` license key.
Purchase Nuxt UI Pro at `[https://ui.nuxt.com/pro/pricing`](https://ui.nuxt.com/pro/pricing%60) to build your app in production.
 

Error:  Missing `NUXT_UI_PRO_LICENSE` license key.
Purchase Nuxt UI Pro at `[https://ui.nuxt.com/pro/pricing`](https://ui.nuxt.com/pro/pricing%60) to build your app in production.
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions