portainer-stack-git-redeplo.../action.yml
2022-12-09 00:37:35 +03:00

22 lines
491 B
YAML

name: Portainer Stack Redeploy
author: Dzianis Nikifaraŭ
description: Action for request to Portainer API for redeploy stack with pull latest images
inputs:
portainerUrl:
description: 'Portainer URL'
required: true
accessToken:
description: 'Portainer access token'
required: true
stackId:
description: 'Stack ID'
required: true
endpointId:
description: 'Endpoint ID'
required: false
default: ''
runs:
using: 'node16'
main: 'dist/index.js'