Merge remote-tracking branch 'technical-git/master' into master_t

This commit is contained in:
rusefi 2020-08-21 21:28:51 -04:00
commit 4136201c61
1 changed files with 37 additions and 0 deletions

37
.github/workflows/sync-wiki.yaml vendored Normal file
View File

@ -0,0 +1,37 @@
#
# ACCESS_TOKEN - Personal Access Token with "public_repo" permission
#
name: Sync Wiki
on:
push:
branches:
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Check out docs repo
uses: actions/checkout@v2
with:
fetch-depth: 0
repository: rusefi/rusefi.wiki
persist-credentials: false
- name: Merge from rusefi_documentation
run: |
git remote add technical-git https://github.com/rusefi/rusefi_documentation.git
git fetch technical-git
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git merge technical-git/master
- name: Push changes rusefi/rusefi wiki
uses: ad-m/github-push-action@master
with:
repository: rusefi/rusefi.wiki
github_token: ${{ secrets.ACCESS_TOKEN }}
branch: master