From d1dc0625ad44c9eafe236e18e5fb7bd2c790ccec Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 13 Aug 2021 02:18:17 +0800 Subject: [PATCH] add deploy CI --- .github/workflows/deploy.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..e55c00ab --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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/"