Browse Source

ci: simplify syntax for "on:"

ci: add "workflow_syntax" in "on" for "main" branch
Paul Razvan Berg 2 years ago
parent
commit
f6406c4e7c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .github/workflows/ci.yml

+ 2 - 3
.github/workflows/ci.yml

@@ -4,12 +4,11 @@ env:
   DOTENV_CONFIG_PATH: "./.env.example"
 
 on:
+  workflow_dispatch:
   pull_request:
-    branches:
-      - "main"
   push:
     branches:
-      - "main"
+      - main
 
 jobs:
   ci: