1- [ ![ Tags ] ( https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-action/tags .yaml?logo=github&logoColor=white&label=tags )] ( https://github.com/cssnr/stack-deploy-action/actions/workflows/tags .yaml )
1+ [ ![ Release ] ( https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-action/release .yaml?logo=github&logoColor=white&label=release )] ( https://github.com/cssnr/stack-deploy-action/actions/workflows/release .yaml )
22[ ![ Test] ( https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-action/test.yaml?logo=github&logoColor=white&label=test )] ( https://github.com/cssnr/stack-deploy-action/actions/workflows/test.yaml )
33[ ![ Lint] ( https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-action/lint.yaml?logo=github&logoColor=white&label=lint )] ( https://github.com/cssnr/stack-deploy-action/actions/workflows/lint.yaml )
44[ ![ GitHub Release Version] ( https://img.shields.io/github/v/release/cssnr/stack-deploy-action?logo=github )] ( https://github.com/cssnr/stack-deploy-action/releases/latest )
@@ -39,7 +39,7 @@ _Portainer Users_: You can deploy directly to Portainer with: [cssnr/portainer-s
3939| registry_host | - | - | Registry Authentication Host \* |
4040| registry_user | - | - | Registry Authentication User \* |
4141| registry_pass | - | - | Registry Authentication Pass \* |
42- | summary | - | ` true ` | Add Job Summary |
42+ | summary | - | ` true ` | Add Job Summary \* |
4343
4444** pass/ssh_key** - You must provide either a ` pass ` or ` ssh_key `
4545
@@ -49,8 +49,24 @@ _Portainer Users_: You can deploy directly to Portainer with: [cssnr/portainer-s
4949
5050** registry_user/registry_pass** - Required to run ` docker login ` before stack deploy
5151
52+ ** summary** - Write a Summary for the job. To disable this set to ` false ` .
53+
54+ <details ><summary >📜 View Example Job Summary</summary >
55+
56+ ---
57+
58+ 🎉 Stack ` test-stack ` Successfully Deployed.
59+
60+ ``` text
61+ Updating service test-stack_alpine (id: tu58yhd2vpbr0uymimvy2fq4i)
62+ ```
63+
64+ ---
65+
66+ </details >
67+
5268``` yaml
53- - name : ' Docker Stack Deploy'
69+ - name : ' Stack Deploy Action '
5470 uses : cssnr/stack-deploy-action@v1
5571 with :
5672 name : ' stack-name'
@@ -64,7 +80,7 @@ _Portainer Users_: You can deploy directly to Portainer with: [cssnr/portainer-s
6480Use ` docker login` and enable `--with-registry-auth`
6581
6682` ` ` yaml
67- - name: 'Docker Stack Deploy'
83+ - name: 'Stack Deploy Action '
6884 uses: cssnr/stack-deploy-action@v1
6985 with:
7086 name: 'stack-name'
@@ -83,7 +99,7 @@ Use `docker login` and enable `--with-registry-auth`
8399Simple Example
84100
85101` ` ` yaml
86- name: 'Test Docker Stack Deploy'
102+ name: 'Docker Stack Deploy'
87103
88104on:
89105 push:
98114 - name: 'Checkout'
99115 uses: actions/checkout@v4
100116
101- - name: 'Docker Stack Deploy'
117+ - name: 'Stack Deploy Action '
102118 uses: cssnr/stack-deploy-action@v1
103119 with:
104120 name: 'stack-name'
@@ -112,7 +128,7 @@ jobs:
112128Full Example
113129
114130` ` ` yaml
115- name: 'Test Docker Stack Deploy'
131+ name: 'Docker Stack Deploy'
116132
117133on:
118134 workflow_dispatch:
@@ -162,7 +178,7 @@ jobs:
162178 push: true
163179 tags: ${{ steps.tags.outputs.tags }}
164180
165- - name: 'Docker Stack Deploy'
181+ - name: 'Stack Deploy Action '
166182 uses: cssnr/stack-deploy-action@v1
167183 with:
168184 name: 'stack-name'
0 commit comments