Skip to content

Commit

Permalink
add deploy CI
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 committed Aug 12, 2021
1 parent 7a50e4a commit d1dc062
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to mirror server
on:
push:

jobs:
# server maintainers: @findmyway @johnnychen94 @Roger-luo @staticfloat
deploy_juliacn:
runs-on: ubuntu-latest
environment: github-pages-mirror
steps:
- uses: actions/checkout@v2
- name: deploy to juliacn docs server
uses: appleboy/scp-action@master
with:
host: juliacn.com
username: ${{ secrets.MIRROR_SERVER_USERNAME }}
key: ${{ secrets.MIRROR_SERVER_SSH_KEY }}
source: "./*"
target: "/gs/JuliaZH.jl/"

0 comments on commit d1dc062

Please sign in to comment.