Skip to content

Deploy script does not automatically build #152

Open

Description

@achilleasmitos

I followed the provided tutorial, with the only difference being that I am using yarn instead of npx/npm. In my setup, running yarn deploy does not actually trigger the predeploy script, resulting in a confusing situation where I have made changes (locally) but the gh-pages branch does not get updated.
The obvious fixes are two: either manually run a yarn build before each yarn deploy or modify the script to do it itself (also, delete the predeploy script since it does not offer anything). I would suggest a small note on this (incredibly helpful) tutorial, so that other people do not get baffled like me :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions