feat: 更新部署脚本
自动部署 / build (push) Successful in 7m34s
Details
自动部署 / build (push) Successful in 7m34s
Details
parent
785ed04ccb
commit
8a6722d11f
|
|
@ -18,7 +18,7 @@ env:
|
||||||
deploy_port: ${{ secrets.DEPLOY_PORT }}
|
deploy_port: ${{ secrets.DEPLOY_PORT }}
|
||||||
deploy_user: ${{ secrets.DEPLOY_USER }}
|
deploy_user: ${{ secrets.DEPLOY_USER }}
|
||||||
deploy_pass: ${{ secrets.DEPLOY_PASS }}
|
deploy_pass: ${{ secrets.DEPLOY_PASS }}
|
||||||
deploy_name: demo_server
|
deploy_name: appnify_server
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: 检出代码
|
- name: 检出代码
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: https://git.app.juetan.cn/mirror/checkout@v3
|
uses: https://git.dev.juetan.cn/mirror/checkout@v3
|
||||||
|
|
||||||
- name: 构建镜像
|
- name: 构建镜像
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
docker push ${{ env.docker_name }}:latest
|
docker push ${{ env.docker_name }}:latest
|
||||||
|
|
||||||
- name: 更新服务
|
- name: 更新服务
|
||||||
uses: https://git.app.juetan.cn/mirror/ssh-action@v1.0.0
|
uses: https://git.dev.juetan.cn/mirror/ssh-action@v1.0.0
|
||||||
if: false
|
if: false
|
||||||
with:
|
with:
|
||||||
host: ${{ env.deploy_host }}
|
host: ${{ env.deploy_host }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue