Skip to content

List evolution patch (#74) #82

List evolution patch (#74)

List evolution patch (#74) #82

Workflow file for this run

name: push the docs to the linux-zh repo
on:
push:
branches:
- main
jobs:
build_job:
runs-on: ubuntu-20.04
name: Build documentation
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: source
- name: checkout linux-kernel-labs-zh/linux-zh middle
uses: actions/checkout@v2
with:
repository: linux-kernel-labs-zh/linux-zh
path: middle
token: ${{ secrets.DEPLOY_KEY }}
- name: Copy source file to linux-zh repo
run: cp -r source/* middle/Documentation/teaching
- name: Commit and push changes
run: |
cd middle
git config user.name 'actionBot'
git config user.email github-actions@github.com
git add .
git commit -m "changed at $(date -u)"
git push