Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
ci(Netlify): add v2 build command
Browse files Browse the repository at this point in the history
  • Loading branch information
CanRau committed Oct 6, 2018
1 parent 20a5f17 commit fa9c8eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ ID = "gaiama"
publish = "public/"
command = "wget -O content.tgz https://gitlab.com/api/v4/projects/$GAIAMA_CONTENT_ID/repository/archive?private_token=$GAIAMA_CONTENT_TOKEN && npm rebuild sharp && mkdir content && tar -xzf content.tgz -C content && yarn build"
environment = { NODE_VERSION = "8.9.4" }

[context.v2]
command = "wget -O content.tgz https://gitlab.com/api/v4/projects/$GAIAMA_CONTENT_ID/repository/archive?sha=v2&private_token=$GAIAMA_CONTENT_TOKEN && npm rebuild sharp && mkdir content && tar -xzf content.tgz -C content && yarn build"

0 comments on commit fa9c8eb

Please sign in to comment.