diff --git a/.github/workflows/deploy-v2-site.yml b/.github/workflows/deploy-v2-site.yml index 8f1be35d1..9902bc48e 100644 --- a/.github/workflows/deploy-v2-site.yml +++ b/.github/workflows/deploy-v2-site.yml @@ -2,8 +2,9 @@ name: Deploy V2 Site on: push: - tags: - - 'v2.**' + branches: [2.x] + paths: + - 'docs/**' jobs: build-and-deploy: @@ -13,7 +14,7 @@ jobs: uses: actions/checkout@v2 with: ref: '2.x' - + - name: Install dependencies uses: bahmutov/npm-install@v1 diff --git a/.github/workflows/deploy-v3-site.yml b/.github/workflows/deploy-v3-site.yml index 63bb2d54f..7b659f9ab 100644 --- a/.github/workflows/deploy-v3-site.yml +++ b/.github/workflows/deploy-v3-site.yml @@ -2,8 +2,9 @@ name: Deploy V3 Site on: push: - tags: - - 'v3.**' + branches: [dev] + paths: + - 'docs/**' jobs: build-and-deploy: