github actions

C++
################################
#### SIMPLE GIT AUTOMATION
################################
 
#execute command -> make gh msg="UpdateFiles"
 
GIT := git
ACTION = add.o commit.o push.o
 
gh: ${ACTION}
 
%.o:
    ${GIT} add .
ifdef msg
    ${GIT} commit -m ${msg}
endif
    ${GIT} push origin mastername: 'Gitbook Action Build'
on:
  push:
    branches:
      - master  # trigger branch
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout action
      uses: actions/checkout@v2
    - name: Gitbook Action
      uses: zanderzhao/[email protected]
      with:
        token: ${{ secrets.PERSONAL_TOKEN }}
Source

Also in C++: