You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- name: sync-wiki
- on:
- push:
- branches: [master]
-
- jobs:
- sync-wiki:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - name: sync
- run: |
- cp -r docs $GITHUB_WORKSPACE/ncnn.wiki
- cd $GITHUB_WORKSPACE/ncnn.wiki
- git config --global user.name "wiki-sync-bot"
- git config --global user.email "wiki-sync-bot@qq.com"
- git init
- git add .
- git commit -m "sync"
- git remote add upstream https://${{ secrets.WIKI_SYNC_BOT_TOKEN }}@github.com/Tencent/ncnn.wiki.git
- git push upstream master -f
|