Skip to content
This repository was archived by the owner on May 8, 2019. It is now read-only.
This repository was archived by the owner on May 8, 2019. It is now read-only.

Question: Deployment fails if build files already exist #7

@andrewmelnyk

Description

@andrewmelnyk

Does anyone have any idea why the build script fails if it's already been run once? I'm trying to set up postcommit hooks to run the deploy script after I commit to my master branch so I don't have to remember to run the deploy script manually. However if the build files already exist in my local directory the deployment/build script fails.

22:26:34] 'fonts' errored after 206 ms
[22:26:34] Error: EEXIST: file already exists, mkdir '/Users/melnyk/Sites/docs-home/build/fonts'
at Error (native)
[22:26:34] 'highlightjs' errored after 199 ms
[22:26:34] Error: EEXIST: file already exists, mkdir '/Users/melnyk/Sites/docs-home/build/stylesheets'
at Error (native)

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions