Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
v1xingyue authored Jan 8, 2025
1 parent fa203dc commit 9eacabe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
cache: 'npm'

- name: Install Pnpm
run: npm install -g pnpm
Expand All @@ -34,7 +34,7 @@ jobs:
run: pnpm install

- name: Build
run: npm run build
run: pnpm run build

- name: Add cname
run: echo "eliza101.xyz" > ./packages/page/dist//CNAME
Expand All @@ -46,4 +46,4 @@ jobs:
publish_dir: ./packages/page/dist/
# 保持提交历史
force_orphan: false
commit_message: 'deploy: ${{ github.event.head_commit.message }}'
commit_message: 'deploy: ${{ github.event.head_commit.message }}'

0 comments on commit 9eacabe

Please sign in to comment.