Skip to content

Commit ee2e53e

Browse files
committed
add publish action
1 parent 8753b7c commit ee2e53e

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/main.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Trigger publish
13+
run: scripts/trigger
14+
env:
15+
TOKEN: ${{ secrets.TRIGGER_TOKEN }}

scripts/trigger

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
curl -XPOST -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" -H "Authorization: token $TOKEN" https://api.github.com/repos/cognitect/clojurescript-org-style/dispatches --data '{"event_type": "publish"}'

0 commit comments

Comments
 (0)