Skip to content

update

update #166

Workflow file for this run

name: OSS
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NANJING2 }}
username: ${{ secrets.DEPLOY_USER }}
key: ${{ secrets.DEPLOY_KEY }}
script: |
cd /www/wwwroot/jx3box/data
cd jx3box-talent
git pull origin master
# sync-top-oss:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@master
# - name: OSS
# uses: manyuanrong/setup-ossutil@v2.0
# with:
# endpoint: "oss-cn-hangzhou.aliyuncs.com"
# access-key-id: ${{secrets.ACCESSKEY_ID}}
# access-key-secret: ${{secrets.ACCESS_KEY_SECRET}}
# - run: ossutil cp -rf output oss://jx3box/data/qixue