Skip to content

Commit

Permalink
[CI] Deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
admin-cloudforet committed May 8, 2023
1 parent c156e48 commit 14fe717
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dispatch_sync_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "[Dispatch] Sync CI"

on:
workflow_dispatch:

env:
REPO: cloudforet-io/actions
WORKFLOW_NAME: deploy.yaml

jobs:
owner_check:
if: github.repository_owner == 'cloudforet-io'
runs-on: ubuntu-latest
steps:
- run: echo ${{ github.repository_owner }}
pull_workflows:
runs-on: ubuntu-latest
needs: owner_check
steps:
- name: request workflows
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.PAT_TOKEN }}
repo: ${{ env.REPO }}
workflow: ${{ env.WORKFLOW_NAME }}
inputs: '{"dest" : "${{ github.event.repository.name }}"}'

0 comments on commit 14fe717

Please sign in to comment.