This commit is contained in:
@@ -25,6 +25,13 @@ jobs:
|
|||||||
- name: Verify dist
|
- name: Verify dist
|
||||||
run: ls -la dist/
|
run: ls -la dist/
|
||||||
|
|
||||||
|
# 部署到 test.shoux.net:job 容器挂载宿主 /var/www/test-shoux-net → /deploy
|
||||||
|
- name: Deploy to test.shoux.net
|
||||||
|
run: |
|
||||||
|
rm -rf /deploy/*
|
||||||
|
cp -r dist/. /deploy/
|
||||||
|
echo "[deploy] dist -> /deploy (host /var/www/test-shoux-net)"
|
||||||
|
|
||||||
- name: Install ossutil
|
- name: Install ossutil
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL -o /tmp/ossutilinstall.sh https://gosspublic.alicdn.com/ossutil/install.sh
|
curl -fsSL -o /tmp/ossutilinstall.sh https://gosspublic.alicdn.com/ossutil/install.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user