Commit b491f924 authored by YM-RD-AP01\ymadmin's avatar YM-RD-AP01\ymadmin

20180082: Job [Deploy_Hi365_Backend_PROD] configuration updated

Change performed by ³¯¾_¶§
parent ca6cd6ee
...@@ -64,14 +64,11 @@ yarn install ...@@ -64,14 +64,11 @@ yarn install
#build 程式碼 #build 程式碼
ng build ng build
#移除目錄
sudo rm -rf /var/www/Hi365
#把建置好的結果放到apache下 # 上傳 build artifacts
sudo cp -R ${WORKSPACE}/Hi365 /var/www cd dist
aws s3 sync . s3://h2uclub.myhi365.com --delete --acl public-read
#重新啟動Apache </command>
sudo systemctl restart httpd.service</command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
<publishers> <publishers>
......
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