clue/deploy/web

Search:
Group by:

clue deploy.web — deploy a web target over rsync/ssh, with optional systemd service management (unit install, daemon-reload, enable, restart, is-active verification) and optional script steps run on the host after the sync (GH-runner style - run: entries).

Procs

proc deployWeb(cfg: DeployConfig; profileName, keyOverride: string;
               dryRun = false; yes = false; verbose = false; statusOnly = false): int {.
    ...raises: [IOError, KeyError, OSError, EOFError, Exception], tags: [
    WriteIOEffect, ReadDirEffect, ReadIOEffect, ReadEnvEffect, WriteEnvEffect,
    ExecIOEffect, RootEffect], forbids: [].}
Deploy the web target. Returns a process exit code (0 on success).