changed init crons structure for consistency between express-master-c… #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" }' |