Skip to content

Local path option, command tokens, and delayed symlink change.#5

Open
kylederkacz wants to merge 4 commits into
ZheFeng:masterfrom
kylederkacz:master
Open

Local path option, command tokens, and delayed symlink change.#5
kylederkacz wants to merge 4 commits into
ZheFeng:masterfrom
kylederkacz:master

Conversation

@kylederkacz
Copy link
Copy Markdown

  • Added a config option to specify where the deploy should be sourced from, but it still defaults to the current path.
  • Added command tokens that will be replaced by the appropriate value: $LOCAL_PATH resolves to options.local_path, $DEPLOY_PATH resolves to options.release_path, and $RELEASE_PATH resolves to the complete release path that is generated by the script (eg, /path/to/deploy/path/releases/20131116000000/)
  • Delayed the moving of the symlink until after the deploy is finished to prevent any outages. It may make sense to deploy this even further until after the post commands have been run.

@frankadrian
Copy link
Copy Markdown

+1 hope this gets in soon 🙌

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants