File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ GitHub Action and Docker image used to deploy a Docker stack on a Docker Swarm.
3535| ` deploy_timeout ` | ` DEPLOY_TIMEOUT ` | Seconds, to wait until the deploy finishes | | ** 600** |
3636| ` stack_file ` | ` STACK_FILE ` | Path to the stack file used in the deploy. | ✅ | |
3737| ` stack_name ` | ` STACK_NAME ` | Name of the stack to be deployed. | ✅ | |
38+ | ` stack_paran ` | ` STACK_PARAM ` | Additional parameter (env var) to be passed to the stack. | | |
3839| ` debug ` | ` DEBUG ` | Verbose logging | | ** 0** |
3940
4041
@@ -104,6 +105,7 @@ jobs:
104105 remote_private_key : ${{ secrets.REMOTE_PRIVATE_KEY }}
105106 stack_file : " stacks/plone.yml"
106107 stack_name : " plone-live"
108+ stack_param : " foo"
107109` ` `
108110
109111## Using the Docker Image
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ inputs:
4141 stack_name :
4242 description : " Name of the stack to be deployed"
4343 required : true
44+ stack_param :
45+ description : " Additional stack parameter value"
46+ required : false
47+ default : " "
4448 debug :
4549 description : " Debug information"
4650 required : false
5963 DEPLOY_TIMEOUT : ${{ inputs.deploy_timeout }}
6064 STACK_FILE : ${{ inputs.stack_file }}
6165 STACK_NAME : ${{ inputs.stack_name }}
66+ STACK_PARAM : ${{ inputs.stack_param }}
6267 DEBUG : ${{ inputs.debug }}
You can’t perform that action at this time.
0 commit comments