Answers for "github actions"

0

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/[email protected]
    - name: Gitbook Action
      uses: zanderzhao/[email protected]
      with:
        token: ${{ secrets.PERSONAL_TOKEN }}
Posted by: Guest on September-23-2020
-1

github actions

################################
#### 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 master
Posted by: Guest on January-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language