Skip to content

Commit 898749c

Browse files
committed
Update Inputs Docs
1 parent e30aa1e commit 898749c

File tree

5 files changed

+27
-14
lines changed

5 files changed

+27
-14
lines changed

.github/workflows/pages.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313

1414
env:
1515
CRAWLER_ID: 7a46f2b7-7169-4936-986d-21391c3134d4
16+
CRAWLER_USER_ID: ${{ secrets.CRAWLER_USER_ID }}
17+
CRAWLER_API_KEY: ${{ secrets.CRAWLER_API_KEY }}
1618

1719
permissions:
1820
contents: read
@@ -89,12 +91,12 @@ jobs:
8991

9092
steps:
9193
- name: "Algolia Start Crawl"
92-
continue-on-error: true
94+
if: ${{ !cancelled() }}
9395
uses: cssnr/web-request-action@v1
9496
with:
9597
url: https://crawler.algolia.com/api/1/crawlers/${{ env.CRAWLER_ID }}/reindex
96-
username: ${{ secrets.CRAWLER_USER_ID }}
97-
password: ${{ secrets.CRAWLER_API_KEY }}
98+
username: ${{ env.CRAWLER_USER_ID }}
99+
password: ${{ env.CRAWLER_API_KEY }}
98100

99101
- name: "Send Post-Deploy Notification"
100102
if: ${{ failure() }}

.vitepress/theme/custom.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,7 @@ summary {
2121
display: inline-block;
2222
margin-right: 8px;
2323
}
24+
25+
.search-keywords {
26+
display: none;
27+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The site should now be available at: http://localhost:5173/
3939

4040
# Contributing
4141

42-
For instructions on modifying the documentation see the [CONTRIBUTING.md](https://github.com/cssnr/stack-deploy-docs?tab=contributing-ov-file#readme).
42+
For instructions on modifying the documentation see the [CONTRIBUTING.md](#contributing-ov-file).
4343

4444
Please consider making a donation to support the development of this project
4545
and [additional](https://cssnr.com/) open source projects.

docs/docs/inputs.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ The inputs are organized in a table for quick [reference](#reference) with addit
1818
| [pass](#pass-ssh-key) **\*** | - | Remote Docker Password |
1919
| [ssh_key](#pass-ssh-key) **\*** | - | Remote SSH Key File |
2020
| [disable_keyscan](#disable-keyscan) | `false` | Disable SSH Keyscan `ssh-keyscan` |
21-
| [env_file](#env_-ile) | - | Exported Environment File |
21+
| [env_file](#env-file) | - | Exported Environment File |
2222
| [detach](#detach) **²** | `true` | Detach Flag, `false`, to disable |
23-
| [prune](#prune) **²** | `false` | Prune Flag, `true`, to enable |
23+
| prune **²** | `false` | Prune Flag, `true`, to enable |
2424
| [resolve_image](#resolve-image) **²** | `always` | Resolve [`always`, `changed`, `never`] |
2525
| [registry_auth](#registry-auth) **²** | - | Enable Registry Authentication |
2626
| [registry_host](#registry-host) | - | Registry Authentication Host |
@@ -44,18 +44,18 @@ Example: `cool-stack`
4444

4545
Stack file or Compose file(s).
4646

47-
Compose: Multiple files can be provided, space seperated.
47+
_Compose._ Multiple files can be provided, space seperated.
4848
This will prepend the `-f` flag to each file.
4949

5050
Example: `web.yaml db.yaml`
5151

5252
### mode
5353

54-
_Compose only._ Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.
54+
**Compose Only.** Set this to `compose` to use `compose up` instead of `stack deploy` for non-swarm hosts.
5555

5656
### args
5757

58-
_Compose only._ Compose arguments to pass to the `compose up` command. Only used for `mode: compose` deployments.
58+
**Compose Only.** Compose arguments to pass to the `compose up` command. Only used for `mode: compose` deployments.
5959
The `detach` flag defaults to false for compose. With no args the default is `--remove-orphans --force-recreate`.
6060
Use an empty string to override. For more details, see the compose
6161
[docs](https://docs.docker.com/reference/cli/docker/compose/up/).
@@ -76,23 +76,28 @@ This will disable the `ssh-keyscan` command. Advanced use only.
7676
### env_file
7777

7878
Variables in this file are exported before running stack deploy.
79-
To use a docker `env_file` specify it in your compose file and make it available in a previous step.
8079
If you need compose file templating this can also be done in a previous step.
8180
If using `mode: compose` you can also add the `compose_arg: --env-file stringArray`.
8281

82+
::: tip IMPORTANT
83+
**This is NOT** the Docker compose [env_file](https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/#use-the-env_file-attribute) directive.
84+
That is set in your compose file as normal.
85+
:::
86+
8387
### detach
8488

85-
_Swarm only._ Set this to `false` to not exit immediately and wait for the services to converge.
89+
**Swarm Only.** Set this to `false` to not exit immediately and wait for the services to converge.
8690
This will generate extra output in the logs and is useful for debugging deployments.
91+
8792
Defaults to `false` in `mode: compose`.
8893

8994
### resolve_image
9095

91-
_Swarm only._ When the default `always` is used, this argument is omitted.
96+
**Swarm Only.** When the default `always` is used, this argument is omitted.
9297

9398
### registry_auth
9499

95-
_Swarm only._ Set to `true` to deploy with `--with-registry-auth`.
100+
**Swarm Only.** Set to `true` to deploy with `--with-registry-auth`.
96101

97102
If setting `registry_user/registry_pass` this is implied.
98103

@@ -109,3 +114,5 @@ Required to run `docker login` before stack deploy.
109114
### summary
110115

111116
Write a Summary for the job. To disable this set to `false`.
117+
118+
For more information see [Job Summary](../guides/features.md#job-summary).

docs/guides/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ prev:
66

77
# Getting Started
88

9-
<span style="display:none;/*Search Keywords*/">Install and Setup Guide.</span>
9+
<span class="search-keywords">Install and Setup Guide.</span>
1010

1111
To get started, create or update your [workflow file](#workflow) and review the [usage](#secrets).
1212

0 commit comments

Comments
 (0)