Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Testing external netlify auth headers; issue opentargets/issues#984
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFumis committed Apr 27, 2020
1 parent 49f62a9 commit aa9045b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# Deploy Preview context: All Deploy Previews (ie.PRs)
# will inherit these settings.
[context.deploy-preview]
command = "yarn run setup && yarn run build-qa"
# command = "yarn run setup && yarn run build-qa"
[[headers]]
for = "/*"
[headers.values]
# Basic-Auth header
Basic-Auth = "opentargets:opentargets"
[headers.values]
# Basic-Auth header
Basic-Auth = "opentargets:opentargets"

[context.deploy-preview.environment]
APIHOST = "https://platform-api.opentargets.io/"
Expand All @@ -28,12 +28,12 @@
# an active Deploy Preview will inherit these settings.
# By default
[context.branch-deploy]
command = "yarn run setup && yarn run build-qa"
# command = "yarn run setup && yarn run build-qa"
[[headers]]
for = "/*"
[headers.values]
# Basic-Auth header
Basic-Auth = "opentargets:opentargets"
[headers.values]
# Basic-Auth header
Basic-Auth = "opentargets:opentargets"

[context.branch-deploy.environment]
APIHOST = "https://platform-api-qc.opentargets.io/"
Expand Down

0 comments on commit aa9045b

Please sign in to comment.