Add development check before triggering workflow
Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
parent
eded296fd8
commit
d096c22911
@ -16,6 +16,7 @@ const Posts: CollectionConfig = {
|
||||
console.log(process.env.TOKEN);
|
||||
|
||||
try {
|
||||
process.env.NODE_ENV !== "development" &&
|
||||
console.log(
|
||||
await fetch(
|
||||
`https://api.github.com/repos/${process.env.REPOSITORY}/dispatches`,
|
||||
|
Loading…
Reference in New Issue
Block a user