actions
actions copied to clipboard
cli: ENOENT: no such file or directory, stat
Using the cli action to deploy fails with the following:
/usr/bin/docker run --name b3ac6e318b04582d64b81a7a18f724cf72f83_8b35e8 --label 3b3ac6 --workdir /github/workspace --rm -e INSTALL_NIX_WAS_RUN -e NETLIFY_SITE_ID -e NETLIFY_AUTH_TOKEN -e INPUT_ARGS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/nmattia.com/nmattia.com":"/github/workspace" 3b3ac6:e318b04582d64b81a7a18f724cf72f83 deploy --dir=$(readlink ./build) --message="$GITHUB_SHA" --prod
Error: ENOENT: no such file or directory, stat
'/nix/store/hfalz9j40rpzjzn5f5hmiy2zwiq7vxmx-nmattia-com-builder'
Code: ENOENT
Deploy path: /nix/store/hfalz9j40rpzjzn5f5hmiy2zwiq7vxmx-nmattia-com-builder
The action was run with deploy --dir=$(readlink ./build) where build exists and point to /nix/store/hfalz9j40rpzjzn5f5hmiy2zwiq7vxmx-nmattia-com-builder which exists too.