Skip to content

Deploying no longer works after updating to 0.9.0, can't see Environments page in nuxthub admin #650

@AlexBerlo

Description

@AlexBerlo

Error: [nuxt:hub] Invalid hub environment, should be test, preview or production
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1.

After updating the application to 0.9.0 the automatic deploy through github actions no longer worked. I've updated the github actions yml according to the environments documentation.

I managed to do one deploy with the cli ( npx nuxthub deploy ) and my version updated in nuxthub admin, it shows 0.9.0 now but I can't see the Environments page which is described in the documentation. I'm guessing I have to do something in that Environments page in order to get it working again

Steps to reproduce
Steps to reproduce the behavior:

  1. Have an application with automatic deployment to github in nuxthub admin with nuxthub core version 0.7
  2. Update nuxthub core to 0.9.0
  3. Deploy fails
  4. Run manual deploy through the cli to get the new version (0.9.0) in nuxthub
  5. Push a commit -> automatic deploys fail because of [nuxt:hub] Invalid hub environment, should be test, preview or production

Expected behavior
It should see the environments page. Deploy should work after following the steps in the documentation.

Image

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