From 7edc5c5b19ab3e9fa8900641cd17705e3690a7c0 Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Wed, 23 Aug 2023 18:27:48 +0800 Subject: [PATCH] docs action --- .github/workflows/deploy-docs.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index aff185674..840b87768 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -1,13 +1,14 @@ -# Workflow to build and deploy site to Vercel using Hugo +name: deploy-docs -# Name of Workflow -name: deploy-production - -# Controls when the action will run. Triggers the workflow on push -# events but only for the vercel branch on: + workflow_dispatch: push: - branches: [docs] + paths: + - 'docSite/**' + branches: + - 'main' + tags: + - 'v*.*.*' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: