Commit 52f064b9 authored by liuzheng712's avatar liuzheng712

feat: deploy init

parents
#!/bin/bash
# coding: utf-8
# Copyright (c) 2017
# Gmail:liuzheng712
#
set -ex
npm i
npm run-script build
docker build -t luna .
#!/bin/bash
# coding: utf-8
# Copyright (c) 2017
# Gmail:liuzheng712
#
set -ex
git checkout publish && \
git pull github dev --rebase && \
git merge master -m "publish" && \
git reset --soft HEAD^ && \
git checkout -- .gitignore && \
git commit -m "publish" && \
git push github publish:dev && \
echo "success"
git checkout master
git pull github dev --commit && git push origin master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment