Deployment isn't triggering
Hello,
I have a PowerShell project with a deploy.ps1
script and appveyor.yml
, both in the root. The
deploy.ps1
script is not getting executed,
however.
Being a PowerShell script module, there is no "build" or
"artifacts" to speak of. However, during the deploy
phase, I would like to publish the PowerShell module to the
PowerShell Gallery (powershellgallery.com), so that users can use
Find-Module
to locate it. I am using the
Unstable
AppVeyor OS image, which includes PowerShell
5.0 April 2015 Preview, which contains the
PowerShellGet
module that allows me to use the
Publish-Module
command to publish to the gallery.
I have tried many, many variations of the YAML file, and nothing
seems to work. How do I make sure that deploy.ps1
is
executed, even though I don't have a "build" or any
"artifacts?"
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on Jul 23, 2015 @ 07:34 PM
deploy.ps1
is to use along with Deployment Agent.Seems like you just need to call it directly like:
2 Posted by Trevor Sullivan on Jul 24, 2015 @ 04:41 PM
@Feodor: Thanks, that worked.
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 01:58 AM.