---
title: "publishSource"
canonical: "https://support.appfire.com/space/BCCLI/65767176/publishSource"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766635)

> Macro (details)
> 
> | **Description** | Publish source to Confluence. When the path represents a directory, all files included in the same file list filtering conditions as getFileList will be published to the page. |
> | --- | --- |
> | **Required Parameters** | [repository](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766277), [path](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765505), [targetServer](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766609), [space](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767198), [title](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766225) |
> | **Optional Parameters** | [workspace](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765634), [revision](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766229), [parent](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65765517), [replace](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767679), [descendents](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768499), [limit](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768162), [regex](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65767227) |
> | **Type** | [Publish](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65768932/Action+Types#ActionTypes-Publish) |
> | **Category** | [Content](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766329/Action+Categories#ActionCategories-Content) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Since Version** |  |
> | **Examples** | [publishSource](https://appfire.atlassian.net/wiki/spaces/BCCLI/pages/65766633/Examples#publishSource) |

## Related How To's

> Macro (cql-query)