Claude
Skills
Sign in
Back

publish

Included with Lifetime
$97 forever

Deploy the compiled AL app to a Business Central server using bc-publish. Requires .bcconfig.json configuration.

Cloud & DevOps

What this skill does


# /publish — Deploy to BC Server

## Tool Reference

```
!bc-publish --help
```

## Behavior

1. Check prerequisites: `.app` file exists (suggest `/compile` first if not), `.bcconfig.json` exists (suggest `bc-publish --init` if not)
2. Parse `$ARGUMENTS` and pass through to `bc-publish`
3. Run `bc-publish`

## Handling Results

- **Success:** Report server/instance. Suggest `/run-tests` as next step.
- **Connection failure:** Show connection details from `.bcconfig.json`, suggest checking BC service status.
- **Schema conflict:** Suggest setting `"schemaUpdateMode": "synchronize"` in `.bcconfig.json`.

Related in Cloud & DevOps