Skip to content

Commit e4e11e3

Browse files
committed
add website deploy workflow
1 parent 3c7e2ae commit e4e11e3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy Website
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
dispatch:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Dispatch event
11+
run: |
12+
curl -L \
13+
-X POST \
14+
-H "Accept: application/vnd.github+json" \
15+
-H "Authorization: Bearer ${{ secrets.DEPLOY_TOKEN }}" \
16+
https://api.github.com/repos/Flow-Launcher/flow-launcher.github.io/dispatches \
17+
-d '{"event_type":"deploy"}'

0 commit comments

Comments
 (0)