Skip to content

The symlink task fails if the directory already exists and isn't already a symlink #9

@kodie

Description

@kodie

For example, our sites start off with just a public directory with a single index.html file in it.

When deploying a site for the first time, the public directory stays a directory and doesn't get symlinked to the current release so we do the following manually after the first deploy:

rm -rf public
ln -sfn public_html/releases/1 public

and then everything works fine after that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions