mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-08-30 02:32:07 +08:00
Update docproc.yml
Moved the shell commands that are unique to this repository to worker file.
This commit is contained in:
parent
81538fdcf4
commit
89a6164f9f
1 changed files with 6 additions and 2 deletions
8
.github/workflows/docproc.yml
vendored
8
.github/workflows/docproc.yml
vendored
|
@ -7,7 +7,7 @@ name: Process MainWP PHP Documentation
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ documentation ]
|
branches: [ documentation ]
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
|
@ -22,4 +22,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
hosts: 'root@code-reference.mainwp.com'
|
hosts: 'root@code-reference.mainwp.com'
|
||||||
privateKey: ${{ secrets.PRIVATE_KEY }}
|
privateKey: ${{ secrets.PRIVATE_KEY }}
|
||||||
command: sh ~/scripts/docproc.sh
|
command: |
|
||||||
|
sleep 3
|
||||||
|
rm -rf ~/Source/mainwp-child
|
||||||
|
git clone https://github.com/mainwp/mainwp.git ~/Source/mainwp-child
|
||||||
|
sh ~/scripts/docproc.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue