aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/docs.yml')
-rw-r--r--.github/workflows/docs.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index d76e7de1..97eb8827 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -34,7 +34,7 @@ jobs:
upload:
runs-on: ubuntu-latest
needs: build
- if: github.ref == 'refs/heads/main' && github.repository == 'crocs-muni/sec-certs' # Potentially change this into a check on release.
+ if: (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main') && github.repository == 'crocs-muni/sec-certs' # Potentially change this into a check on release.
steps:
- name: Get docs artifact
uses: actions/download-artifact@v3