Skip to content

ci: update workflows #1

ci: update workflows

ci: update workflows #1

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/