Skip to content

Commit

Permalink
Update CI to adapt new mirror server
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoxuanGuo committed Oct 21, 2023
1 parent 2962bd8 commit 204ddfa
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ jobs:
runs-on: ubuntu-latest
environment: github-pages-mirror
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: deploy to juliacn docs server
uses: appleboy/scp-action@master
uses: easingthemes/ssh-deploy@main
with:
host: juliacn.com
username: ${{ secrets.MIRROR_SERVER_USERNAME }}
key: ${{ secrets.MIRROR_SERVER_SSH_KEY }}
source: "./*"
target: "/gs/JuliaZH.jl/"
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "./"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}

0 comments on commit 204ddfa

Please sign in to comment.