This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
refine website view #302
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: mkdocs update | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Connect to server | |
uses: appleboy/ssh-action@master | |
with: | |
host: 123.57.73.246 | |
username: root | |
key: ${{ secrets.FTQ2 }} | |
port: 22 | |
command_timeout: 200m | |
script: | | |
bash /root/git_pull.sh | |
bash /root/bs.sh |