Skip to content

Commit

Permalink
Move netlify.sh to .netlify/build.sh (#44)
Browse files Browse the repository at this point in the history
* Rename netlify.sh to .netlify/build.sh
* Update netlify.toml
  • Loading branch information
ArnaudLigny authored Jul 9, 2019
1 parent c219af3 commit 315a71a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[build]
command = "chmod +x netlify.sh && bash netlify.sh"
command = "chmod +x .netlify/build.sh && bash .netlify/build.sh"
publish = "_site"
environment = { PHP_VERSION = "7.2" }
environment = { PHP_VERSION = "7.2", RUBY_VERSION = "2.6.2" }

[context.deploy-preview]
command = "chmod +x netlify.sh && bash netlify.sh $DEPLOY_PRIME_URL"
command = "chmod +x .netlify/build.sh && bash .netlify/build.sh $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "chmod +x netlify.sh && bash netlify.sh $DEPLOY_PRIME_URL"
command = "chmod +x .netlify/build.sh && bash .netlify/build.sh $DEPLOY_PRIME_URL"

[template.environment]
CECIL_SITE_TITLE = "Blog's title"
Expand Down

0 comments on commit 315a71a

Please sign in to comment.