ci: add GitHub Actions workflows for release and CNB synchronization
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# .github/workflows/sync-cnb.yml
|
||||
|
||||
name: Sync to CNB
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Sync to CNB Repository
|
||||
uses: docker://tencentcom/git-sync
|
||||
env:
|
||||
PLUGIN_TARGET_URL: "https://cnb.cool/haorwen/Privoce/vocechat-web.git"
|
||||
PLUGIN_AUTH_TYPE: "https"
|
||||
PLUGIN_USERNAME: "cnb"
|
||||
PLUGIN_PASSWORD: ${{ secrets.CNB_TOKEN }}
|
||||
PLUGIN_FORCE: "true"
|
||||
Reference in New Issue
Block a user