Skip to content

Commit 1804b04

Browse files
committed
fix: alternative way to determine if docs need to be published
1 parent c3506c0 commit 1804b04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
name: Deploy Docs
22

33
on:
4-
push:
5-
tags:
6-
- "docs*"
4+
release:
5+
types: [published]
76

87
jobs:
98
deploy:
109
name: Deploy
1110
runs-on: ubuntu-latest
11+
if: startsWith(github.event.release.name, 'docs@')
1212
environment:
1313
name: docs.pluginpal.io
1414
url: https://docs.pluginpal.io/webtools

0 commit comments

Comments
 (0)