mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 19:13:54 +00:00
Set node version for skin museum Netlify deploy
This commit is contained in:
parent
cf4f4bb3b4
commit
c84438ced8
1 changed files with 21 additions and 22 deletions
|
|
@ -6,36 +6,35 @@ ID = "be420a16-4ef3-43b1-ac62-35869bdf8679"
|
|||
# Settings in the [build] context are global and are applied to all contexts
|
||||
# unless otherwise overridden by more specific contexts.
|
||||
[build]
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# HTML files and assets generated by the build.
|
||||
publish = "build/"
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# HTML files and assets generated by the build.
|
||||
publish = "build/"
|
||||
|
||||
# Default build command.
|
||||
command = "yarn build"
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../webamp/"
|
||||
# Default build command.
|
||||
command = "yarn build"
|
||||
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../webamp/"
|
||||
[build.environment]
|
||||
NODE_VERSION = "16.17.1"
|
||||
NETLIFY_USE_YARN = "true"
|
||||
|
||||
NODE_VERSION = "20"
|
||||
NETLIFY_USE_YARN = "true"
|
||||
|
||||
|
||||
[[redirects]]
|
||||
from = "/sitemap*"
|
||||
to = "https://api.webampskins.org/sitemap:splat"
|
||||
status = 200
|
||||
from = "/sitemap*"
|
||||
to = "https://api.webampskins.org/sitemap:splat"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/"
|
||||
query = {query = ":query"}
|
||||
to = "https://winamp-skin-museum.jordan1320.workers.dev//"
|
||||
status = 200
|
||||
from = "/"
|
||||
query = { query = ":query" }
|
||||
to = "https://winamp-skin-museum.jordan1320.workers.dev//"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/skin/*"
|
||||
to = "https://winamp-skin-museum.jordan1320.workers.dev//skin/:splat"
|
||||
status = 200
|
||||
from = "/skin/*"
|
||||
to = "https://winamp-skin-museum.jordan1320.workers.dev//skin/:splat"
|
||||
status = 200
|
||||
|
||||
[[redirects]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue