Skip to content

Commit cee8945

Browse files
committed
[prod] update
1 parent a2cd853 commit cee8945

File tree

4 files changed

+33
-4
lines changed

4 files changed

+33
-4
lines changed

.github/workflows/static.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,30 @@ jobs:
4242
github_token: ${{ secrets.GITHUB_TOKEN }}
4343
publish_dir: ./dist
4444
cname: sac.crust.network
45+
prod2:
46+
if: contains(github.event.head_commit.message, '[prod]') || contains(github.event.head_commit.message, '[all]')
47+
environment:
48+
name: github-pages
49+
url: ${{ steps.deployment.outputs.page_url }}
50+
runs-on: ubuntu-latest
51+
steps:
52+
- name: Checkout
53+
uses: actions/checkout@v4.1.7
54+
55+
- uses: oven-sh/setup-bun@v2
56+
with:
57+
bun-version: latest
58+
59+
- name: Install dependencies & build
60+
61+
run: |
62+
bun install
63+
bun run build
64+
65+
- name: Deploy Gh-Pages 🚀
66+
uses: peaceiris/actions-gh-pages@v3
67+
with:
68+
deploy_key: ${{ secrets.DK }}
69+
publish_dir: ./dist
70+
external_repository: crustio/site-sac-home
71+
cname: strategyacrust.com

tsconfig.app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
/* Linting */
2020
"strict": true,
21-
"noUnusedLocals": true,
22-
"noUnusedParameters": true,
21+
"noUnusedLocals": false,
22+
"noUnusedParameters": false,
2323
"erasableSyntaxOnly": true,
2424
"noFallthroughCasesInSwitch": true,
2525
"noUncheckedSideEffectImports": true,

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
{ "path": "./tsconfig.node.json" }
66
],
77
"compilerOptions": {
8+
"noUnusedLocals": false,
9+
"noUnusedParameters": false,
810
"baseUrl": ".",
911
"paths": {
1012
"@/*": ["./src/*"]

tsconfig.node.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
/* Linting */
1818
"strict": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
19+
"noUnusedLocals": false,
20+
"noUnusedParameters": false,
2121
"erasableSyntaxOnly": true,
2222
"noFallthroughCasesInSwitch": true,
2323
"noUncheckedSideEffectImports": true

0 commit comments

Comments
 (0)