mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-14 15:54:13 +01:00
feat: simplifier les commandes de déploiement et de prévisualisation dans la configuration
This commit is contained in:
2
.github/workflows/cloudflare.yml
vendored
2
.github/workflows/cloudflare.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
command: deploy --branch=${{ env.BRANCH_NAME }}
|
||||
command: deploy
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
"scripts": {
|
||||
"build": "nuxi build",
|
||||
"dev": "nuxi dev",
|
||||
"preview": "bun run build && wrangler pages dev",
|
||||
"preview": "bun run build && wrangler dev",
|
||||
"postinstall": "nuxt prepare",
|
||||
"lint": "eslint .",
|
||||
"deploy": "bun run cf-typegen && bun run build && wrangler pages deploy",
|
||||
"deploy": "bun run cf-typegen && bun run build && wrangler deploy",
|
||||
"cf-typegen": "wrangler types"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user