We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f98198 commit 0d521aaCopy full SHA for 0d521aa
.github/workflows/docs.yml
@@ -6,8 +6,12 @@ name: docs
6
7
on:
8
push:
9
- tags:
10
- - '[0-9]+.[0-9]+.[0-9]+'
+ branches:
+ - main
11
+ paths:
12
+ - docs/**
13
+ - CHANGELOG.rst
14
+ - README.md
15
pull_request:
16
branches:
17
- main
@@ -16,10 +20,6 @@ on:
20
- docs/**
21
- CHANGELOG.rst
18
22
- README.md
19
- workflow_dispatch:
- inputs:
- tag:
- required: true
23
24
jobs:
25
@@ -46,6 +46,6 @@ jobs:
46
environment:
47
name: github-pages
48
runs-on: ubuntu-latest
49
- if: ${{ github.event_name == 'workflow_dispatch' || github.ref_type == 'tag' }}
+ if: ${{ github.ref == 'refs/heads/main' }}
50
steps:
51
- uses: actions/deploy-pages@v4
0 commit comments