How to build static site using Publish
Issue #564 Code https://github.com/JohnSundell/publish Example https://github.com/pumaswift/pumaswift.github.io Steps Step 1: Create executable swift package init --type executable Step 2: Edit package // swift-tools-version:5.1 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let package = Package( name: "PumaSwiftWeb", dependencies: [ .package(url: "https://github.com/johnsundell/publish.git", from: "0.1.0") ], targets: [ .target( name: "PumaSwiftWeb", dependencies: [ "Publish" ] ) ] ) Step 3: Double click Package.swift, Xcode opens that in a generated project Step 4: Declare website....