Using surfer to publish websites to cloudron from github actions
Surfer has a CLI tool that can be installed to automate publishing as part of Github Actions or other CI/CD workflows.
You can setup your CI/CD to automatically push static files to surfer using the CLI as follows:
- First, create anÂ
Access Token
 in surfer from theÂSettings
 menu.- Install the surfer cli tool as part of the CI/CD pipeline.
- Push the artifacts (
dist/
 in the example below):
surfer put --token api-7e6d90ff-5825-4ebe-a85b-a68795055955 --server surfer.cloudron.
Notes mentioning this note
Surfer
The basic website serving and file sharing app by the [[Cloudron]] team. It has [[WebDAV]] support, so you can mount...