cli icon indicating copy to clipboard operation
cli copied to clipboard

Not creating dist folder on nuxt3 project using github actions.

Open anburocky3 opened this issue 2 years ago • 0 comments

Describe the bug

While fetching the data from the github repo, it is working good, but if i make my own github action with all required information, it is not building nuxt3 dist folder.

As per nuxt3 netlify docs: https://v3.nuxtjs.org/guide/deployment/netlify

It is not detecting the netlify environment while building.

Steps to reproduce

  1. Run git clone https://github.com/anburocky3/iragugal-web
  2. Check the github actions: .github/workflows/netlify.yaml & netlify.toml file
  3. Try to push it and the action fails with this error message.

image

Configuration

[dev]
  command = "sleep 999999999"
  framework = "#custom"
  functions = ".output/server"
  port = 8888
  targetPort = 3000

[build]
  command = "yarn build"
  publish = "dist/"
  functions = ".output/server"

[[redirects]]
  from = "/*"
  to = "/.netlify/functions/index"
  status = 200

Environment

  System:
    OS: Windows 10 10.0.22598
    CPU: (32) x64 AMD Ryzen 9 3950X 16-Core Processor
    Memory: 20.23 GB / 31.92 GB
  Binaries:
    Node: 16.14.2 - S:\laragon\bin\nodejs\node-v16.14.2-win-x64\node.EXE
    Yarn: 3.2.0 - S:\laragon\bin\nodejs\node-v16.14.2-win-x64\yarn.CMD
    npm: 8.5.0 - S:\laragon\bin\nodejs\node-v16.14.2-win-x64\npm.CMD
  npmPackages:
    netlify-cli: ^10.0.0 => 10.0.0

anburocky3 avatar Apr 19 '22 20:04 anburocky3