Synchronize Hub Resource types with instance
One script reply has been approved by the moderators Verified

Sync all resource types on your instance with WindmillHub

https://www.windmill.dev/docs/core_concepts/resources_and_types#sync-resource-types-with-windmillhub

Created by henri186 469 days ago Picked 2 times
Submitted by henri186 Bun
Verified 257 days ago
1
import * as wmill from "[email protected]"
2

3
export async function main() {
4
  await wmill.hubPull({ workspace: "admins", token: process.env["WM_TOKEN"], baseUrl: globalThis.process.env["BASE_URL"] });
5
}