This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
移除MCBBS链接,更新兵器页面(特别感谢lestery123编写这些页面!) #154
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 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 |