Update build.yml
This commit is contained in:
parent
d5222520af
commit
f4118a6716
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -1,14 +1,14 @@
|
|||||||
name: deploying-doc
|
name: deploying-doc
|
||||||
run-name: Deploying doc —— ${{ github.run_id }}
|
run-name: Deploying doc — ${{ github.run_id }}
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: main
|
branches: main
|
||||||
types:
|
types:
|
||||||
- closed
|
- closed
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
if_merged:
|
||||||
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 🚚 Checkout
|
- name: 🚚 Checkout
|
||||||
@ -39,4 +39,4 @@ jobs:
|
|||||||
username: ${{ secrets.FTP_SERVER_USERNAME }}
|
username: ${{ secrets.FTP_SERVER_USERNAME }}
|
||||||
password: ${{ secrets.FTP_SERVER_PASSWORD }}
|
password: ${{ secrets.FTP_SERVER_PASSWORD }}
|
||||||
local-dir: ./src/.vuepress/dist/
|
local-dir: ./src/.vuepress/dist/
|
||||||
server-dir: ./test/
|
server-dir: ./jingji/book/
|
Loading…
x
Reference in New Issue
Block a user