mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Merge branch 'master' of https://github.com/mainwp/mainwp-child into thang
This commit is contained in:
commit
30a7dce923
1 changed files with 25 additions and 0 deletions
25
.github/workflows/docproc.yml
vendored
Normal file
25
.github/workflows/docproc.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue