feat: 更新部署脚本
自动部署 / build (push) Successful in 7m34s Details

master
绝弹 2023-11-23 21:27:43 +08:00
parent 785ed04ccb
commit 8a6722d11f
1 changed files with 3 additions and 3 deletions

View File

@ -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 }}