Skip to content

Commit ba9b0ed

Browse files
committed
fix: build-live-demo-later
1 parent 16aef37 commit ba9b0ed

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,22 @@ clone:
66
depth: 5
77

88
steps:
9-
build:
9+
10+
release:
11+
image: node:20
12+
volumes:
13+
- /var/run/docker.sock:/var/run/docker.sock
14+
commands:
15+
- cd adminforth
16+
- npm clean-install
17+
- npm run build
18+
- npm audit signatures
19+
- npx semantic-release
20+
secrets:
21+
- GITHUB_TOKEN
22+
- NPM_TOKEN
23+
24+
build-live-demo:
1025
image: docker
1126
volumes:
1227
- /var/run/docker.sock:/var/run/docker.sock
@@ -21,17 +36,4 @@ steps:
2136
- VAULT_OPENAI_API_KEY
2237
- VAULT_AWS_ACCESS_KEY_ID
2338
- VAULT_AWS_SECRET_ACCESS_KEY
24-
- VAULT_ADMIN_PASSWORD
25-
release:
26-
image: node:20
27-
volumes:
28-
- /var/run/docker.sock:/var/run/docker.sock
29-
commands:
30-
- cd adminforth
31-
- npm clean-install
32-
- npm run build
33-
- npm audit signatures
34-
- npx semantic-release
35-
secrets:
36-
- GITHUB_TOKEN
37-
- NPM_TOKEN
39+
- VAULT_ADMIN_PASSWORD

0 commit comments

Comments
 (0)