You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8f77794
Browse filesBrowse the repository at this point in the historyBrowse files
- Mask SSH private key line-by-line for multiline secret handling,
since ::add-mask:: operates per-line in GitHub Actions
- Default repository-url to SSH format (git@github.com:...) when
auth-type is ssh, so users don't need to override it manually
- Add comment documenting camelCase API field name convention
(sshKey, sshHostKeyVerification) matching existing authType/token
- Add security warning for accept_all host key verification in README
- Remove explicit repository-url from SSH example (auto-derived now)
https://claude.ai/code/session_019FKVbkxfTf8fyqdx7BzCFs
Copy file name to clipboardExpand all lines: .github/actions/arcane-deploy/README.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,10 @@ Deploy Docker Compose stacks to [Arcane](https://github.com/getarcaneapp/arcane)
54
54
compose-dir: stacks
55
55
auth-type: ssh
56
56
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
57
-
repository-url: git@github.com:myorg/myrepo.git
58
57
```
59
58
59
+
> **Note:** When `auth-type: ssh`, the `repository-url` defaults to the SSH format (`git@github.com:owner/repo.git`) automatically. You can override it with `repository-url` if needed.
60
+
60
61
**With workflow environment variables** (available to subsequent steps, not inside containers):
61
62
62
63
```yaml
@@ -76,25 +77,25 @@ Deploy Docker Compose stacks to [Arcane](https://github.com/getarcaneapp/arcane)
| `arcane-url` | Yes | | Base URL of the Arcane instance (must use HTTPS) |
83
+
| `arcane-api-key` | Yes | | API key (from Arcane Settings > API Keys) |
84
+
| `environment-id` | Yes | | Arcane environment ID |
85
+
| `compose-dir` | No | | Directory to scan for compose files (up to 2 levels deep) |
86
+
| `compose-files` | No | | Newline-separated list of compose file paths |
87
+
| `repository-url` | No | GitHub repo HTTPS URL | Git URL for Arcane to clone. Defaults to SSH format when auth-type=ssh. |
88
+
| `repository-name` | No | GitHub repo name | Display name in Arcane |
89
+
| `branch` | No | Triggering branch | Branch to sync from |
90
+
| `auth-type` | No | `http` | Git auth type: `none`, `http`, or `ssh` |
91
+
| `git-token` | No | | Token for HTTP git auth. Required when auth-type=http. |
92
+
| `ssh-private-key` | No | | SSH private key for git auth (e.g. deploy key). Required when auth-type=ssh. |
93
+
| `ssh-host-key-verification` | No | `accept_new` | SSH host key verification mode: `accept_new`, `accept_all`, or `reject`. **Warning:** `accept_all` disables host key checking and should only be used for testing. |
0 commit comments