Updata AutoRover-H3 User Manual #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Deploy #action名称 | |
on: #在推送的时候运行此action | |
push: | |
branches: [main] | |
jobs: | |
deploy_job: | |
runs-on: ubuntu-latest #运行环境 | |
name: build | |
steps: | |
# check out the repository | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: deploy file to server | |
uses: wlixcc/SFTP-Deploy-Action@v1.0 | |
with: | |
username: '${{ secrets.USER_NAME }}' #ssh user name | |
server: '${{ secrets.SERVER_IP }}' | |
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} | |
local_path: './generated/*' | |
remote_path: '/www/wwwroot/wiki.blicube.com/grtk' |