Skip to content

Commit 7fe7227

Browse files
committed
chore: add action to deploy
1 parent 2c4868d commit 7fe7227

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- source
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- run: |
14+
curl -fsS \
15+
-H 'Accept: application/vnd.github.everest-preview+json' \
16+
-H 'Content-type: application/json' \
17+
-H "Authorization: Bearer $GH_PAT_ORG" \
18+
-X POST \
19+
-d '{"event_type":"build"}' \
20+
https://api.github.com/repos/$GH_REPO/dispatches
21+
env:
22+
GH_PAT_ORG: ${{ secrets.GH_PAT_ORG }}
23+
GH_REPO: violentmonkey/violentmonkey-astro

0 commit comments

Comments
 (0)