Merge branch 'master' of https://github.com/mainwp/mainwp-child into thang

This commit is contained in:
thanghv 2020-06-29 20:26:35 +07:00
commit 30a7dce923

25
.github/workflows/docproc.yml vendored Normal file
View file

@ -0,0 +1,25 @@
# This is a workflow triggers the creation of MainWP's PHP Documentation
name: Process MainWP PHP Documentation
# Controls when the action will run. Triggers the workflow on push
# events but only for the master branch
on:
push:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: SSH Execute Commands
uses: JimCronqvist/action-ssh@0.1.1
with:
hosts: 'root@code-reference.mainwp.com'
privateKey: ${{ secrets.PRIVATE_KEY }}
command: sh ~/scripts/docproc.sh