ci: update workflows #1
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: Deploy to Aliyun OSS | |
on: | |
push: | |
branches: [ main, master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: setup node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
- name: build | |
uses: mattnotmitt/doxygen-action@v1.9.4 | |
- name: setup aliyun oss | |
uses: manyuanrong/setup-ossutil@master | |
with: | |
endpoint: oss-cn-chengdu.aliyuncs.com | |
access-key-id: ${{ secrets.OSS_KEY_ID }} | |
access-key-secret: ${{ secrets.OSS_KEY_SECRET }} | |
- name: upload files | |
run: ossutil sync --force --update --delete ./docs/html oss://kiwano-docs-website/ |