f877c37fc6
tests / Test (windows-latest, 3.13) (push) Blocked by required conditions
tests / Test (windows-latest, 3.14) (push) Blocked by required conditions
tests / Validate (push) Waiting to run
tests / Test (macos-latest, 3.10) (push) Blocked by required conditions
tests / Test (macos-latest, 3.11) (push) Blocked by required conditions
tests / Test (macos-latest, 3.12) (push) Blocked by required conditions
tests / Test (macos-latest, 3.13) (push) Blocked by required conditions
tests / Test (macos-latest, 3.14) (push) Blocked by required conditions
tests / Test (ubuntu-latest, 3.10) (push) Blocked by required conditions
tests / Test (ubuntu-latest, 3.11) (push) Blocked by required conditions
tests / Test (ubuntu-latest, 3.12) (push) Blocked by required conditions
tests / Test (ubuntu-latest, 3.13) (push) Blocked by required conditions
tests / Test (ubuntu-latest, 3.14) (push) Blocked by required conditions
tests / Test (windows-latest, 3.10) (push) Blocked by required conditions
tests / Test (windows-latest, 3.11) (push) Blocked by required conditions
tests / Test (windows-latest, 3.12) (push) Blocked by required conditions
universe validation / Validate (push) Waiting to run
15 lines
639 B
JavaScript
15 lines
639 B
JavaScript
import site from './site.json' assert { type: 'json' }
|
|
|
|
export const domain = process.env.BRANCH || site.domain
|
|
export const siteUrl = `https://${domain}`
|
|
export const nightly = site.nightlyBranches.includes(domain)
|
|
export const legacy = site.legacy || !!+process.env.SPACY_LEGACY
|
|
export const binderBranch = domain
|
|
export const branch = nightly ? 'develop' : 'master'
|
|
export const replacements = {
|
|
GITHUB_SPACY: `https://github.com/explosion/spaCy/tree/${branch}`,
|
|
GITHUB_PROJECTS: `https://github.com/${site.projectsRepo}`,
|
|
SPACY_PKG_NAME: nightly ? 'spacy-nightly' : 'spacy',
|
|
SPACY_PKG_FLAGS: nightly ? ' --pre' : '',
|
|
}
|