Skip to content

Merge branch 'main' of https://github.com/Moonofweisheng/sponsors #32

Merge branch 'main' of https://github.com/Moonofweisheng/sponsors

Merge branch 'main' of https://github.com/Moonofweisheng/sponsors #32

Workflow file for this run

name: upload-oss
# 在main分支上有push命令时触发该流程
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository master branch
uses: actions/checkout@master
- name: Setup Node.js 10.x
uses: actions/setup-node@master
with:
node-version: '10.x'
- name: setup aliyun oss
uses: manyuanrong/setup-ossutil@master
with:
endpoint: oss-cn-hongkong.aliyuncs.com
access-key-id: ${{ secrets.OSS_KEY }}
access-key-secret: ${{ secrets.OSS_SECRET }}
- name: cp files to aliyun
run: ossutil cp -r -f ./sponsors oss://historysoa/sponsors