-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pass decap env vars to fe_build workflow
- Loading branch information
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,11 +35,6 @@ RUN --mount=type=cache,target=/tmp/cache composer install --no-dev | |
|
||
WORKDIR /app | ||
|
||
# Decap config. | ||
ENV VITE_DECAP_REPO='AmazeeLabs/silverback-template' | ||
ARG LAGOON_GIT_BRANCH | ||
ENV VITE_DECAP_BRANCH="$LAGOON_GIT_BRANCH" | ||
|
||
# Copy the all package sources, install and prepare them. | ||
COPY . /app | ||
RUN --mount=type=cache,target=/tmp/cache pnpm i && \ | ||
|
@@ -118,4 +113,9 @@ RUN npm install -g [email protected] | |
|
||
COPY --from=builder /tmp/.deploy/publisher /app | ||
|
||
# Decap config. | ||
ENV VITE_DECAP_REPO='AmazeeLabs/silverback-template' | ||
ARG LAGOON_GIT_BRANCH | ||
ENV VITE_DECAP_BRANCH="$LAGOON_GIT_BRANCH" | ||
|
||
CMD pnpm publisher |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters