I understand you're having issues with your Nuxt UI Pro license when deploying to NuxtHub. Let me help you troubleshoot this problem.
Based on the information provided, it seems that while you've added your license key to GitHub Actions variables, the build process isn't accessing it correctly. This is a common issue when working with environment variables in deployment environments.
Possible solutions:
1. Check environment variable format
Make sure your environment variable is correctly named as NUXT_UI_PRO_LICENSE (exactly as shown) in your NuxtHub project settings. The error message specifically mentions this variable is missing during build.
2. Environment variable location
For NuxtHub deployments, you need to ensure the environment variable is set in the correct location:
3. Docker/Deployment configuration
If you're using a custom deployment setup, make sure the environment variables are properly passed to the build environment. The issue might be related to how environment variables are handled in the build process.
As mentioned in a similar issue with environment variables in Nuxt, sometimes there can be issues with how environment variables are passed through Docker or other containerization systems during build time versus runtime GitHub Issue #30605.
4. Verify license activation
Ensure you've properly activated your license at https://ui.nuxt.com/pro/activate with your GitHub username and license key as mentioned in the Activate your Nuxt UI Pro License documentation.