Skip to content

Commit

Permalink
ci: 合并 actions
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Jan 8, 2025
1 parent ed22a91 commit 4e2076f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 37 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/deploy-vercel.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ jobs:
- name: Install dependencies
run: |
npm install -g pnpm
pnpm config set registry https://registry.npmmirror.com
pnpm i --no-frozen-lockfile
- name: build
run: |
pnpm build
- uses: amondnet/vercel-action@v20 #deploy
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
# github-token: ${{ secrets.GITHUB_TOKEN }} # Optional
vercel-args: "--prod" # Optional
vercel-org-id: ${{ secrets.ORG_ID}} # Required
vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
working-directory: dist
- name: zip
run: |
zip -r dist.zip dist
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.324",
"version": "2.14.325",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down

0 comments on commit 4e2076f

Please sign in to comment.