文件名称:github-deploy-actions:触发该操作后,它将自动部署到目标分支
文件大小:284KB
文件格式:ZIP
更新时间:2024-05-25 22:16:21
deployer gh-pages autodeploy github-actions github-action
Github部署动作 触发该操作后,它将自动构建并部署到目标分支。 它还可以保留gh页的历史记录,并便于回滚到以前的版本。 并且它将使用git status --porcelain将部署文件与以前的版本进行比较,如果没有任何更改,它将不会部署。 如何使用 name : deploy on : push : branches : - master jobs : build-and-deploy : runs-on : ubuntu-latest steps : - name : Checkout uses : actions/checkout@master - name : Build and Deploy