fix: update EXIF fixture and deploy workflows

- Fix test-with-exif.jpg Software field from "ashim Test" to
  "SnapOtter Test" to match test expectations
- Replace cloudflare/wrangler-action with npx wrangler to avoid
  pnpm workspace root install error
This commit is contained in:
SnapOtter
2026-04-24 18:08:42 +08:00
parent 0309e0f680
commit 00f0af4c79
3 changed files with 8 additions and 10 deletions
+4 -5
View File
@@ -31,8 +31,7 @@ jobs:
run: pnpm --filter @snapotter/docs docs:build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy apps/docs/.vitepress/dist --project-name snapotter-docs --branch main --commit-dirty=true
run: npx wrangler pages deploy apps/docs/.vitepress/dist --project-name snapotter-docs --branch main --commit-dirty=true
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
+4 -5
View File
@@ -31,8 +31,7 @@ jobs:
run: pnpm --filter @snapotter/landing build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy apps/landing/out --project-name snapotter-landing --branch main --commit-dirty=true
run: npx wrangler pages deploy apps/landing/out --project-name snapotter-landing --branch main --commit-dirty=true
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 B

After

Width:  |  Height:  |  Size: 758 B