Created
July 26, 2022 16:46
-
-
Save joshuablum/845d6af82c710a9b9d8f1a57618f213d to your computer and use it in GitHub Desktop.
`netlify.toml` file for deploying Statamic to Netlify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Settings in the [build] context are global and are applied to | |
# all contexts unless otherwise overridden by more specific contexts. | |
[build] | |
# Directory to change to before starting a build. | |
# This is where we will look for package.json/composer.json/etc. | |
# If not set, defaults to the root directory. | |
base = "./" | |
# Directory that contains the deploy-ready HTML files and | |
# assets generated by the build. This is relative to the base | |
# directory if one has been set, or the root directory if | |
# a base has not been set. This sample publishes the directory | |
# located at the absolute path "root/project/build-output" | |
publish = "./storage/app/static" | |
# Default build command. | |
command = "composer build" | |
[context.production.environment] | |
#PHP_VERSION="8.0" | |
[[headers]] | |
for = "/sitemap.xml" | |
[headers.values] | |
Content-Type = "application/xml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment