Skip to content

DOCS-2461: Address upload modules feedback #4188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/operate/get-started/other-hardware/manage-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Use [GitHub Actions](https://docs.github.com/actions) to automatically build and

1. Push your changes to your module GitHub repository.

{{% alert title="Note" color="note" %}}
{{% alert title="Tip" color="tip" %}}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to make it green instead of gray


If you used `viam module generate` to create your module and enabled cloud build, all you need to do to trigger a new build is create a tag and publish a release in GitHub as you did when you [first published the module](/operate/get-started/other-hardware/#upload-your-module).

Expand Down Expand Up @@ -99,7 +99,7 @@ At the end of your <file>meta.json</file>, add the build configuration:
}
```

{{%expand "Click to view example setup.sh" %}}
{{%expand "Click to view example setup.sh for a Python module" %}}

```sh {class="command-line" data-prompt="$"}
#!/bin/bash
Expand All @@ -124,7 +124,7 @@ pip3 install -r requirements.txt

{{% /expand%}}

{{%expand "Click to view example build.sh (with setup.sh)" %}}
{{%expand "Click to view example build.sh (with setup.sh) for a Python module" %}}

```sh { class="command-line" data-prompt="$"}
#!/bin/bash
Expand All @@ -135,7 +135,7 @@ tar -czvf dist/archive.tar.gz <PATH-TO-EXECUTABLE>

{{% /expand%}}

{{%expand "Click to view example build.sh (without setup.sh)" %}}
{{%expand "Click to view example build.sh (without setup.sh) for a Python module" %}}

```sh { class="command-line" data-prompt="$"}
#!/bin/bash
Expand Down
Loading