Skip to content

Commit fb43f3e

Browse files
committed
update publish trigger workflow
1 parent ac26aa5 commit fb43f3e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/main.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: CI
22

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

57
jobs:
68
build:
79

810
runs-on: ubuntu-latest
911

1012
steps:
11-
- uses: actions/checkout@v1
1213
- name: Trigger publish
13-
run: scripts/trigger
14-
env:
15-
TOKEN: ${{ secrets.TRIGGER_TOKEN }}
14+
run: curl -X POST -H "Authorization:token ${{ secrets.TRIGGER_TOKEN }}" -H "Accept:application/vnd.github.v3+json" --data '{"event_type":"publish"}' https://api.github.com/repos/clojure/clojurescript-org-style/dispatches

0 commit comments

Comments
 (0)