Skip to content

Commit 8159b0c

Browse files
committed
use gh worfklow to trigger publish
1 parent 77ffcf2 commit 8159b0c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: CI
22

3-
on: [push]
3+
on:
4+
push:
5+
worfklow_dispatch:
46

57
jobs:
68
build:
@@ -10,4 +12,4 @@ jobs:
1012
steps:
1113
- uses: actions/checkout@v3
1214
- name: Trigger publish
13-
run: curl -XPOST -u "${{ secrets.TRIGGER_TOKEN }}" -H "Accept:application/vnd.github.v3+json" -H "Content-Type:application/json" https://api.github.com/repos/clojure/clojure-org-style/dispatches
15+
run: gh workflow run main.yml -R clojure/clojure-org-style --ref master

0 commit comments

Comments
 (0)