or Create a profile
13 Mar, 2019 06:24 AM
Is there a way to add a runCommand to a yaml file instead of adding it in the appveyor environment?
I'm looking for a way to run a command after deploy on each specific environment instead common for the build process.
I have tried adding a powershell script in the after_deploy section, and it runs successfully, but it doesn't run on the specific environment but as part of the build process. I can call the command by adding it to the environment After deployment command but I'm trying to avoid putting configuration in the environment settings and instead using more maintable yaml files.
on 13 Mar, 2019 05:50 PM
I am assuming you are using deployment agent?
Apart from running .ps1 scripts before/after deployment as detailed here there is no way to run environment specific commands from yaml configuration.
Sorry if i've misunderstood your question.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.