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

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XXY233 authored Mar 2, 2024
1 parent caaf052 commit 2b55e81
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
name: Deploy to static server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
cache: yarn

- name: Install dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: Build website
run: npm run build
run: yarn build

- name: upload files
uses: fangbinwei/[email protected]
Expand All @@ -30,4 +30,4 @@ jobs:
accessKeySecret: ${{ secrets.ACCESSKEY_SECRET }}
bucket: web-toiletmc
endpoint: oss-cn-hangzhou.aliyuncs.com
folder: ./build
folder: ./build

0 comments on commit 2b55e81

Please sign in to comment.