Skip to content
Closed
Show file tree
Hide file tree
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
11 changes: 11 additions & 0 deletions docs/operate/get-started/other-hardware/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,17 @@ The `viam module generate` command already generated the `build-action` file in
1. Click **Publish release**.
The cloud build action will begin building the new module version for each architecture listed in your <file>meta.json</file>, and any machines configured to use the latest release of the module will receive the update once it has finished building.

{{% alert title="Troubleshooting tip" color="tip" %}}

If you are having trouble with your GitHub Actions workflow, try the following:

In your GitHub repository **Settings**, navigate to **Actions** -> **General** -> **Workflow permissions**.
Set the **Workflow permissions** to **Read and write permissions**.

Then try triggering a build with a new release.

{{% /alert %}}

See [Update an existing module using a GitHub action](/operate/get-started/other-hardware/manage-modules/#update-automatically) for more information.

{{% /tab %}}
Expand Down
11 changes: 11 additions & 0 deletions docs/operate/get-started/other-hardware/manage-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,17 @@ For more details, see the [`upload-module` GitHub Action documentation](https://
1. Push a tag or create a [release](https://docs.github.com/en/repositories/releasing-projects-on-github) in GitHub to trigger the build.
Once the build is complete, the module will automatically update in the [Viam Registry](https://app.viam.com/registry), and the machines set to use the latest [version](/operate/reference/module-configuration/#module-versioning) of the module will automatically update to the new version.

{{% alert title="Troubleshooting tip" color="tip" %}}

If you are having trouble with your GitHub Actions workflow, try the following:

In your GitHub repository **Settings**, navigate to **Actions** -> **General** -> **Workflow permissions**.
Set the **Workflow permissions** to **Read and write permissions**.

Then try triggering a build with a new release.

{{% /alert %}}

### Update manually

Use the [Viam CLI](/dev/tools/cli/) to manually update your module:
Expand Down
Loading