Skip to content

Commit d0407ed

Browse files
chore: Enable deployment
1 parent 98529ed commit d0407ed

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/build-deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- run: pnpm build
2424

2525
deploy:
26-
if: ${{ github.ref == 'refs/heads/main' }}
26+
# if: ${{ github.ref == 'refs/heads/main' }}
2727
needs: build
2828
runs-on: ubuntu-latest
2929
permissions:
@@ -33,3 +33,8 @@ jobs:
3333
steps:
3434
- uses: vivliostyle/vivliostyle.pub/.github/actions/setup@ci/deploy
3535
- run: pnpm build
36+
- uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
37+
with:
38+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
39+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
40+
wranglerVersion: '4.50.0'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"lint-staged": {
2424
"*": [
25-
"biome format --write --files-ignore-unknown=true"
25+
"biome format --write --files-ignore-unknown=true --no-errors-on-unmatched"
2626
]
2727
},
2828
"pnpm": {

0 commit comments

Comments
 (0)