Using Netlify to host a publish website
- Include swift version in a
.swift-version
file - Run command for netlify is
swift run
Small how-to
- Create a website using Publish
- Create or add to a github or any other git remote repo
- Go to netlify and configure a new Netlify prolect with the repo from step 2
- When configuring the project to build on Netlify:
- The
build command
isswift run
- The Publish diretcory is
Output
- The