I am trying build code with netlify in github actions,
but i am not able to do it.
My repo : GitHub - elisalimli/old_airbnb-clone: Airbnb clone built with typescript,graphql,react and prisma
My netlify toml file :
`
./netlify.toml
[build]
command = “npm run build:web”
publish = “packages/web/out”
[functions]
directory = “packages/web/out_functions”
[dev]
command = “yarn start”
port = 8888
targetPort = 4321
publish = “packages/web/out”
functions = “packages/web/out_functions”
autoLaunch = true
framework = “next”
[[plugins]]
package = “@netlify/plugin-nextjs”
`
I am trying use jsmrcaga/action-netlify-deploy@master
But it gives me the following error :
`
build:netlify
126> netlify build
129(node:425) [EACCES] Error Plugin: netlify-cli: EACCES: permission denied, open ‘/github/home/.config/netlify/config.json’
130You don’t have access to this file.
132module: @oclif/config@1.17.0
133task: runHook init
134plugin: netlify-cli
135root: /github/workspace/node_modules/netlify-cli
136See more details with DEBUG=*
137(Use node --trace-warnings ...
to show where the warning was created)
138 Error Plugin: netlify-cli: EACCES: permission denied, open
139 ‘/github/home/.config/netlify/config.json’
140 You don’t have access to this file.
142 Code: EACCES
143[Error: EACCES: permission denied, mkdir ‘/github/home/.cache/netlify-cli’] {
144 errno: -13,
145 code: ‘EACCES’,
146 syscall: ‘mkdir’,
147 path: ‘/github/home/.cache/netlify-cli’
143}
148Deploy path: /github/workspace/packages/web/out
149Functions path: /github/workspace/packages/web/out_functions
150Configuration path: /github/workspace/netlify.toml
151 › Error: No such directory /github/workspace/packages/web/out! Did you
152 › forget to run a build?
`
The Github actions workflow => https://github.com/alisalim17/airbnb-clone/runs/3396962451?check_suite_focus=true