Skip to content

Commit

Permalink
feat: add openim-docker design (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw authored Aug 28, 2023
1 parent abce5cf commit 1c30c19
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 4 deletions.
26 changes: 26 additions & 0 deletions .github/sync-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright © 2023 OpenIM. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://github.com/BetaHuhn/repo-file-sync-action
# Synchronization for the.github repository
openim-sigs/openim-docker:
- source: ./config
dest: ./openim-chat/release/config
replace: true
- source: ./docs
dest: ./openim-chat/release/docs
replace: true
- source: ./scripts
dest: ./openim-chat/release/scripts
replace: true
6 changes: 3 additions & 3 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
# Synchronization for the.github repository
openim-sigs/openim-docker:
- source: ./config
dest: ./openim-chat/config
dest: ./openim-chat/main/config
replace: true
- source: ./docs
dest: ./openim-chat/docs
dest: ./openim-chat/main/docs
replace: true
- source: ./scripts
dest: ./openim-chat/scripts
dest: ./openim-chat/main/scripts
replace: true
40 changes: 40 additions & 0 deletions .github/workflows/sync-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright © 2023 KubeCub open source community. All rights reserved.
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.

# https://github.com/BetaHuhn/repo-file-sync-action
name: Synchronize OpenIM Chat release public code to other repositories
on:
push:
branches:
- release-*

workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@latest
with:
GH_INSTALLATION_TOKEN: "${{ secrets.BOT_GITHUB_TOKEN }}"
CONFIG_PATH: .github/sync-release.yml
ORIGINAL_MESSAGE: true
SKIP_PR: true
COMMIT_EACH_FILE: false
COMMIT_BODY: "🤖 kubbot to synchronize the warehouse"
GIT_EMAIL: "[email protected]"
GIT_USERNAME: "kubbot"
PR_BODY: 👌 kubecub provides automated community services
REVIEWERS: |
kubbot
cubxxw
PR_LABELS: |
file-sync
automerge
ASSIGNEES: |
kubbot
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# you may not use this file except in compliance with the License.

# https://github.com/BetaHuhn/repo-file-sync-action
name: Synchronize kubecub public code to other repositories
name: Synchronize OpenIM Chat main public code to other repositories
on:
push:
branches:
Expand Down

0 comments on commit 1c30c19

Please sign in to comment.