This is a simple script that allows deploy static assets to the fermyon cloud without any configuration.
- Create an alias to the script
alias static-site="<Path to the script>"
- Create a new folder
$ mkdir mysite
$ cd mysite
- Create an index.html with some content
$ touch index.html
$ cat index.html
<html lang="en">
<head>
<meta charset="utf-8">
<title>Spin static site script</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Spin static site script</h1>
</body>
</html>
- Run the script passing in the name for the website
static-site mysite