Skip to content

Commit 075da7f

Browse files
committed
Enable "docs" github action only when a tag is pushed
1 parent 475df15 commit 075da7f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build Docs
88
runs-on: ubuntu-latest
99
# We only execute this step if the commit is tagged, i.e., this is a release
10-
#if: startsWith(github.ref, 'refs/tags')
10+
if: startsWith(github.ref, 'refs/tags')
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@master
@@ -36,7 +36,7 @@ jobs:
3636
needs: build
3737
runs-on: ubuntu-latest
3838
# We only execute this step if the commit is tagged, i.e., this is a release
39-
#if: startsWith(github.ref, 'refs/tags')
39+
if: startsWith(github.ref, 'refs/tags')
4040
environment:
4141
name: github-pages
4242
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)