Update wot-design-uni.json #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |