mirror of
https://github.com/JuliusFreudenberger/portainer-stack-git-redeploy-action.git
synced 2024-11-23 19:34:39 +01:00
23 lines
515 B
YAML
23 lines
515 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. Needed if used remote agent'
|
||
|
required: false
|
||
|
default: ''
|
||
|
|
||
|
runs:
|
||
|
using: 'node16'
|
||
|
main: 'index.js'
|