Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How do I configure a static site build path?
I’m trying to get started with the new DigitalOcean Apps. Since I’m using a non-standard static site generator (jigsaw). I have problems finding solid documentation on how to set the static site build or output path.
I did find some documentation and samples showing a .do folder with an app.yaml and other yaml configuration, although trying to use the same did not work for me. It seemed like those config files got ignored by DO and I also couldn’t find any settings to add configuration on my own.
The error message I’m getting is the following:
=> Static site output directory is not explicitly set, attempting to look for static files
sitename | 15:34:47 Checking /workspace/_static
sitename | 15:34:47 Checking /workspace/dist
sitename | 15:34:47 Checking /workspace/public
sitename | 15:34:47 ! No static site build path was found
I’d be glad for any help. Thanks.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×