-
Notifications
You must be signed in to change notification settings - Fork 3
31 lines (28 loc) · 1.07 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Deploy to Other Repos
on:
push:
branches:
- main
jobs:
deploy1:
name: Deploy to express-master-controller
runs-on: ubuntu-latest
steps:
- name: Fire Deploy Event
run: |
curl --location 'https://api.github.com/repos/thre4dripper/express-master-controller/actions/workflows/96432150/dispatches' \
--header 'Accept: application/vnd.github+json' \
--header 'Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}' \
--header 'Content-Type: application/json' \
--data '{ "ref": "main" }'
deploy2:
name: Deploy to node-server-init
runs-on: ubuntu-latest
steps:
- name: Fire Deploy Event
run: |
curl --location 'https://api.github.com/repos/thre4dripper/node-server-init/actions/workflows/96324202/dispatches' \
--header 'Accept: application/vnd.github+json' \
--header 'Authorization: Bearer ${{ secrets.WORKFLOW_TOKEN }}' \
--header 'Content-Type: application/json' \
--data '{ "ref": "main" }'