Skip to content

npm run deploy does not work on Windows #436

Open
@griffpatch

Description

@griffpatch

Expected Behavior

Deploys the current build to the gh-pages branch in github

Actual Behavior

From github console:

~\Documents\GitHub\scratch-vm [optimisation/reuseStackForNextBlock ↑43]> npm run deploy

> scratch-vm@0.1.0 deploy C:\Users\griffpatch\Documents\GitHub\scratch-vm
> touch playground/.nojekyll && ./node_modules/.bin/gh-pages -t -d playground -m "Build for $(git log --pretty=format:%H -n1)"

'.' is not recognized as an internal or external command,
operable program or batch file.

from node.js console:

C:\Users\griffpatch\Documents\GitHub\scratch-vm>npm run deploy

> scratch-vm@0.1.0 deploy C:\Users\griffpatch\Documents\GitHub\scratch-vm
> touch playground/.nojekyll && ./node_modules/.bin/gh-pages -t -d playground -m "Build for $(git log --pretty=format:%H -n1)"

'touch' is not recognized as an internal or external command,
operable program or batch file.

Operating System and Browser

Windows 10 pro, PC

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions