Closed alexgit2k closed 2 months ago
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.
Read more: [https://github.com/deployphp/deployer/discussions/3888]
I do have a task in the YAML-file which should be only executed if a specific file changed compared to the previous release:
It should also run at the first release. However, as
previous_release
can't be set for the first release obviously: https://github.com/deployphp/deployer/blob/e3faebe878a6327b10574e81117234dcbafe9a27/recipe/deploy/release.php#L137-L140 the following error occours:Any ideas on how to solve this in YAML?
Workarounds
before: deploy:release: deploy:release:dummyrelease