Skip to content

Commit 33dff34

Browse files
committed
fix docs for head references using 'None'
Signed-off-by: apedriza <adripedriza@gmail.com>
1 parent c42cb32 commit 33dff34

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
- name: mike deploy head
5252
if: contains(github.ref, 'refs/heads/main')
5353
run: |
54-
mike deploy --push head
54+
VERSION=$(git describe --tags --abbrev=0)
55+
K0SMOTRON_VERSION="$VERSION" mike deploy --push head
5556
5657
# If a release has been published, deploy it as a new version
5758
- name: mike deploy new version

docs/capi-remotemachine-teleport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ spec:
183183
```
184184
185185
More information about Teleport's Machine ID and how to set it up with Kubernetes can be found [here](https://goteleport.com/docs/machine-id/deployment/kubernetes/).
186-
Also, you can use [this example](https://github.com/k0sproject/k0smotron/blob/{{{ extra.k0smotron_version }}}/config/samples/capi/remotemachine/capi-remotemachine-teleport.yaml) as a reference.
186+
Also, you can use [this example](https://github.com/k0sproject/k0smotron/blob/{{{ extra.k0smotron_version }}}/config/samples/capi/remotemachine/remotemachine-teleport-access.yaml) as a reference.
187187
188188
## Create a RemoteMachine
189189

0 commit comments

Comments
 (0)