0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

Website Deployment (#462)

build: publish the website
This commit is contained in:
Juan Picado @jotadeveloper 2018-01-09 18:44:40 +01:00 committed by GitHub
parent ccba5e9a4c
commit 84733c100f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 3 deletions

View file

@ -42,9 +42,16 @@ deployment:
tag: /.*-beta.*/
commands:
- ./scripts/beta-publish.sh
website:
branch: master
commands:
- git config --global user.email "verdacciobot@users.noreply.github.com"
- git config --global user.name "Verdaccio bot 🤖 for Deployments"
- echo "machine github.com login verdacciobot password $GITHUB_TOKEN" > ~/.netrc
- cd website && yarn install && yarn run build && GIT_USER=verdacciobot USE_SSH=false yarn run publish-gh-pages
general:
branches:
ignore:
- gh-pages # list of branches to ignore
- gh-pages
- l10n_master
- /release\/.*/ # or ignore regexes
- /release\/.*/

View file

@ -13,7 +13,7 @@ const siteConfig = {
tagline: 'A lightweight private npm proxy registry',
url: 'http://www.verdaccio.org' /* your website url */,
organizationName: 'verdaccio',
baseUrl: '/' /* base url for your project */,
baseUrl: '/verdaccio/' /* base url for your project */,
projectName: 'verdaccio',
headerLinks: [
{doc: 'installation', label: 'Docs'},