Skip to content

Action for request to Portainer API for redeploy stack with pull latest images

Notifications You must be signed in to change notification settings

DriveMinds/portainer-stack-redeploy-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Portainer stack redeploy action

This action allows you to update the stack with pull new images if you can't use webhooks. For example, in Portainer Community Edition.

Inputs

portainerUrl

Required URL to the application instance. For example, https://example.com:9443

accessToken

Required Token for API requests, can be created on the page https://example.com:9443/#!/account/tokens/new

stackId

Required ID of stack to be updated. Must be integer

endpointId

ID of endpoint (environment). Required if your stack is not in local environment

Example usage

uses:  wirgen/[email protected]
with:
  portainerUrl: 'https://example.com:9443'
  accessToken: 'ptr_XXXyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
  stackId: 8
  endpointId: 3

About

Action for request to Portainer API for redeploy stack with pull latest images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%