From 06b36ec27896206171904d7d7c21152a98a06ad6 Mon Sep 17 00:00:00 2001 From: kexue <71873002+kexue-z@users.noreply.github.com> Date: Sun, 24 Apr 2022 18:06:57 +0800 Subject: [PATCH] =?UTF-8?q?:memo:=20Docs:=20=E6=9B=B4=E6=96=B0=20GitHub=20?= =?UTF-8?q?Action=20=E9=83=A8=E7=BD=B2=E6=96=87=E6=A1=A3=20(#937)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> --- website/docs/tutorial/deployment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/tutorial/deployment.md b/website/docs/tutorial/deployment.md index 02bb632f..551eb921 100644 --- a/website/docs/tutorial/deployment.md +++ b/website/docs/tutorial/deployment.md @@ -95,9 +95,9 @@ services: - `DOCKERHUB_USERNAME`: 你的 Docker Hub 用户名 - `DOCKERHUB_PASSWORD`: 你的 Docker Hub PAT([创建方法](https://docs.docker.com/docker-hub/access-tokens/)) -- `DEPLOY_HOST`: 部署服务器 IP 地址 +- `DEPLOY_HOST`: 部署服务器的 SSH 地址 - `DEPLOY_USER`: 部署服务器用户名 -- `DEPLOY_KEY`: 部署服务器私钥 +- `DEPLOY_KEY`: 部署服务器私钥 ([创建方法](https://github.com/appleboy/ssh-action#setting-up-a-ssh-key)) - `DEPLOY_PATH`: 部署服务器上的项目路径 将以下文件添加至项目下的 `.github/workflows/` 目录下: @@ -162,7 +162,7 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - name: start deployment - uses: bobheadxi/deployments@v0.6.2 + uses: bobheadxi/deployments@v1 id: deployment with: step: start