Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Update docusaurus.config.ts #145

Update docusaurus.config.ts

Update docusaurus.config.ts #145

Workflow file for this run

name: Deploy to static server
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to static server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: upload files
uses: fangbinwei/[email protected]
with:
accessKeyId: ${{ secrets.ACCESSKEY_ID }}
accessKeySecret: ${{ secrets.ACCESSKEY_SECRET }}
bucket: web-toiletmc
endpoint: oss-cn-hangzhou.aliyuncs.com
folder: ./build