Skip to content

Commit 573018f

Browse files
[CI] Deploy CI
1 parent 1b896b2 commit 573018f

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: "[Dispatch] Sync CI"
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
REPO: cloudforet-io/actions
8+
WORKFLOW_NAME: dispatch_apply_workflows.yaml
9+
10+
jobs:
11+
owner_check:
12+
if: github.repository_owner == 'cloudforet-io'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- run: echo ${{ github.repository_owner }}
16+
pull_workflows:
17+
runs-on: ubuntu-latest
18+
needs: owner_check
19+
steps:
20+
- name: request workflows
21+
uses: benc-uk/workflow-dispatch@v1
22+
with:
23+
token: ${{ secrets.PAT_TOKEN }}
24+
repo: ${{ env.REPO }}
25+
workflow: ${{ env.WORKFLOW_NAME }}
26+
inputs: '{"dest" : "${{ github.event.repository.name }}"}'

0 commit comments

Comments
 (0)