Skip to content

Commit 433cdca

Browse files
committed
UPD: update CD workflow
1 parent d600265 commit 433cdca

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11

22
name: Deploy backstage
33
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
4+
workflow_run:
5+
workflows: ["CI Workflow"]
6+
types:
7+
- completed
88

99
jobs:
1010
create-and-push-image:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ COPY --chown=node:node examples ./examples
126126

127127

128128
# This switches many Node.js dependencies to production mode. Important APP_ENV and NODE_ENV serve two different purposes
129-
ENV NODE_ENV production
129+
ENV NODE_ENV=production
130130

131131
# This disables node snapshot for Node 20 to work with the Scaffolder
132132
ENV NODE_OPTIONS="--no-node-snapshot"

0 commit comments

Comments
 (0)