added main branch deploy
This commit is contained in:
parent
edefedf6fc
commit
6d7c9ebbe7
@ -12,3 +12,18 @@ deploy-beta:
|
|||||||
url: http://beta.pls5618.com
|
url: http://beta.pls5618.com
|
||||||
except:
|
except:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
tags:
|
||||||
|
- website
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Deploy to server"
|
||||||
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
- ncftpput -R -u $ftp_user -p $ftp_pass pls5618.com beta build/*
|
||||||
|
environment:
|
||||||
|
name: beta
|
||||||
|
url: http://beta.pls5618.com
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user