The bmannconsulting.com website
1---
2tags:
3 - howto
4---
5[[Surfer]] has a CLI tool that can be installed to automate publishing as part of [[Github Actions]] or other CI/CD workflows.
6
7> You can setup your CI/CD to automatically push static files to surfer using the [CLI](https://docs.cloudron.io/apps/surfer/#cli-tool) as follows:
8>
9> - First, create an `Access Token` in surfer from the `Settings` menu.
10> - Install the surfer cli tool as part of the CI/CD pipeline.
11> - Push the artifacts (`dist/` in the example below):
12
13```shell
14surfer put --token api-7e6d90ff-5825-4ebe-a85b-a68795055955 --server surfer.cloudron.
15```
16