Skip to content

Update | replace 玖壹云互联 to 云海科技 #111

Update | replace 玖壹云互联 to 云海科技

Update | replace 玖壹云互联 to 云海科技 #111

Workflow file for this run

name: Build VitePress Website
on: [push, workflow_dispatch]
permissions: write-all
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: ⏰Set time zone
uses: szenius/[email protected]
with:
timezoneLinux: 'Asia/Shanghai'
- name: Check out Git Repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install 7z
run: sudo apt install p7zip-full -y
- name: Cache NPM Dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
- name: Install Dependencies
run: yarn install
- name: Build
run: yarn run docs:build
- name: Compress Release Assets
run: 7z a -r MCSLWebsite.zip ./docs/.vitepress/dist/*
- name: Release
uses: softprops/action-gh-release@v1
with:
body: "update."
prerelease: false
draft: false
tag_name: Latest
files: MCSLWebsite.zip