Coder Social home page Coder Social logo

git-repo-sync's Introduction

leancloud主机环境变量配置

GIT_CLONE_USER_NAME

git配置用户名

GIT_CLONE_USER_EMAIL

git配置邮箱

GIT_CLONE_REPOSITORY_HOST

git克隆仓库的域名

GIT_CLONE_REPOSITORY_USERNAME

git克隆仓库的用户名

GIT_CLONE_REPOSITORY_PASSWORD

git克隆仓库的密码

GIT_CLONE_REPOSITORY_PROJECT

git克隆仓库的项目名

GIT_CLONE_REPOSITORY_BRANCH

git克隆仓库的分支

GIT_DEPLOY_USER_NAME

git配置部提交户名

GIT_DEPLOY_USER_EMAIL

git配置提交邮箱

GIT_DEPLOY_REPOSITORY_HOST

git提交仓库的域名

GIT_DEPLOY_REPOSITORY_USERNAME

git提交仓库的用户名

GIT_DEPLOY_REPOSITORY_PASSWORD

git提交仓库的密码

GIT_DEPLOY_REPOSITORY_PROJECT

git提交仓库的项目名

GIT_DEPLOY_REPOSITORY_BRANCH

git提交仓库的分支

PROCESS_DIR

工作目录

NPM_REPOSITORY

npm仓库镜像,不配置的话默认是'https:>registry.npm.taobao.org'


备注

说一下我的博客架构,首先我使用的Hexo搭建的博客(如果你不是也没有关系,你可以参考代码,修改编译的逻辑,以后我会增加其他的支持),然后我的博客源码存储在bitbucket上,博客编译后存储在coding(不要问我为什么,因为快啊)上,启用pages 服务发布。所以当我提交代码到bitbucket 上的时候,bitbucket就会触发我设置的Webhook,然后调用leancloud主机上的程序完成自动发布同步。


相关文档

git-repo-sync's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.