aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Janovsky2022-06-06 10:44:16 +0200
committerAdam Janovsky2022-06-06 10:44:16 +0200
commit4608a9c078efed8f2884772f87d3d34bf1a2d72b (patch)
tree6ad0197b16a821e2ab796be858dbc6fc02296816
parentca40fcfa619d5faba752b2deee577f457546e431 (diff)
downloadsec-certs-4608a9c078efed8f2884772f87d3d34bf1a2d72b.tar.gz
sec-certs-4608a9c078efed8f2884772f87d3d34bf1a2d72b.tar.zst
sec-certs-4608a9c078efed8f2884772f87d3d34bf1a2d72b.zip
Docs: upload to web on tag revision
-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