Skip to content

Commit

Permalink
[fix] GitHub pages deployment
Browse files Browse the repository at this point in the history
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Dec 10, 2024
1 parent 6d5e309 commit 837d50e
Show file tree
Hide file tree
Showing 3 changed files with 532 additions and 529 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,17 @@ jobs:
with:
version: 9
- uses: actions/setup-node@v4
if: ${{ !env.VERCEL_TOKEN || !env.VERCEL_ORG_ID || !env.VERCEL_PROJECT_ID }}
with:
node-version: 20
cache: pnpm
- name: Install Dependencies
if: ${{ !env.VERCEL_TOKEN || !env.VERCEL_ORG_ID || !env.VERCEL_PROJECT_ID }}
run: pnpm i --frozen-lockfile

- name: Build Production
if: ${{ !env.VERCEL_TOKEN || !env.VERCEL_ORG_ID || !env.VERCEL_PROJECT_ID }}
run: pnpm build

- name: Deploy Production
- name: Deploy to GitHub pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ !env.VERCEL_TOKEN || !env.VERCEL_ORG_ID || !env.VERCEL_PROJECT_ID }}
with:
publish_dir: ./dist
personal_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.4.0",
"description": "Mobile App scaffold of WebCell v3, which is a PWA scaffold based on Material Design Web components, with Anti-996 sample data.",
"author": "shiy2008@gmail.com",
"homepage": "https://web-cell-mobile.vercel.app/",
"homepage": "https://web-cell.dev/WebCell-mobile/",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyWebApp/WebCell-mobile.git"
Expand All @@ -14,27 +14,27 @@
"dependencies": {
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^3.0.1",
"dom-renderer": "^2.6.0",
"koajax": "^3.0.3",
"dom-renderer": "^2.6.1",
"koajax": "^3.1.1",
"mdui": "^2.1.3",
"mobx": "^6.13.5",
"web-cell": "^3.0.3",
"web-utility": "^4.4.2"
},
"devDependencies": {
"@parcel/config-default": "~2.13.0",
"@parcel/packager-raw-url": "~2.13.0",
"@parcel/transformer-typescript-tsc": "~2.13.0",
"@parcel/transformer-webmanifest": "~2.13.0",
"@softonus/prettier-plugin-duplicate-remover": "^1.0.1",
"@types/node": "^20.17.6",
"@parcel/config-default": "~2.13.2",
"@parcel/packager-raw-url": "~2.13.2",
"@parcel/transformer-typescript-tsc": "~2.13.2",
"@parcel/transformer-webmanifest": "~2.13.2",
"@softonus/prettier-plugin-duplicate-remover": "^1.1.2",
"@types/node": "^20.17.9",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"parcel": "~2.13.0",
"lint-staged": "^15.2.11",
"parcel": "~2.13.2",
"postcss": "^8.4.49",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prettier-plugin-css-order": "^2.1.2",
"typescript": "~5.6.3",
"typescript": "~5.7.2",
"workbox-cli": "^7.3.0"
},
"prettier": {
Expand Down
Loading

1 comment on commit 837d50e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for web-cell-mobile ready!

✅ Preview
https://web-cell-mobile-rae3ko4yh-techquerys-projects.vercel.app

Built with commit 837d50e.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.