nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
992 stars 57 forks source link

Unable to Re-import Project from Github Repository After Deleting #152

Closed Sidebridge closed 5 months ago

Sidebridge commented 5 months ago

Describe the bug After I deleted a project deployed to Nuxthub (as I wasn't allowed to change the deployment region), I am not able to reimport the project from the same repository again.

Steps to reproduce Steps to reproduce the behavior:

  1. Go to 'Import A Github Repository'
  2. Click on 'Select a repository'
  3. See " (in use)" when it's not in use
Screenshot 2024-06-08 at 07 32 32

Expected behavior I expect that the list resets after deleting a project previously imported via Github repo.

atinux commented 5 months ago

Is the project still on your Cloudflare Pages account @Sidebridge ? I guess you did not check "Delete project's data on Cloudflare" ?

Sidebridge commented 5 months ago

@Atinux yes, I didn't select the "Delete project's data on Cloudflare" option while deleting as I wasn't too sure what the implication is. But I also can't find any project data looking through my Cloudflare dashboard.

Where do I check, How can i fix?

atinux commented 5 months ago

So what you can do is Import a Cloudflare project when creating a new project in NuxtHub Admin.

Then, you may want to remove it and select the "Delete project data" so it will remove the projet also on Cloudflare and remove the link with GitHub.

And re-create it again by importing your GitHub repository.

Sorry about this but we have no much option with Cloudflare limitations...

Sidebridge commented 5 months ago

This works, thank you