Skip to content

Running Salal

haskelt edited this page Mar 2, 2021 · 7 revisions

You can run Salal from the command line like this:

salal <action> <build_profile>

The <build_profile> argument is optional; if omitted, the default build profile is used (i.e, the profile that appears first in your profiles.json file.

Here are a few examples:

salal build test
salal deploy production
salal clean

Note that Salal has one built-in action, which is build. You can configure additional custom actions as desired for your workflow. For example, you might want a deploy action to push the site to a server, or a clean action to delete all the files created by build and get the project back to its initial state. Details on how to configure custom actions can be found on the Custom actions page.

Clone this wiki locally