Deploying Workflows#
Important
Before you can publish a Workflow, you need to connect to an Artificial instance. Follow the instructions in the Connect your Codespace to Artificial section of the Tutorial to connect to an Artificial instance.
There are two ways to publish your Workflow:
Click the Publish Workflow annotation in your workflow’s source code.
Note
If you don’t see the Publish Workflow annotation, you may need to rebuild your dev container. To do this, open the Command Palette by clicking in the search bar or using
CMD-SHIFT-P
/CTRL-SHIFT-P
, then type>Codespaces: Rebuild Container
or>Dev Containers: Rebuild and Reopen in Container
and press enter.Open the Artificial Extension’s Workflow Publishing Pane and click the icon next to the Workflow to publish it.
Note
When you publish any workflow in a file, all workflows in that file get published. If you need finer grained control, consider splitting your workflows into separate files.