github action authentication on git commands code example
Example: github actions for gitbook
name: '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 }}