Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ jobs:
git remote remove app
)
echo '::endgroup::'
echo '::group::Reset Git repository index in app source code directory'
(
cd app &&
git reset
)
echo '::endgroup::'

- name: Pull dependencies
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ jobs:
git remote remove app
)
echo '::endgroup::'
echo '::group::Reset Git repository index in app source code directory'
(
cd app &&
git reset
)
echo '::endgroup::'

- name: Pull dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion app/.starlight-template
Original file line number Diff line number Diff line change
@@ -1 +1 @@
283d120bcb9b1fe4d77b9cbb780dcaa968d44c76
695c1e2d6b7e375ca790f77df91944129f5fde67
11 changes: 6 additions & 5 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ ARG UID

# Set runtime environment
ENV APP_ENV=test
ENV NODE_ENV=development

# Copy dev dependencies
ENV NODE_ENV=development
COPY --from=deps_dev --link --chown="${UID}:0" /app/.astro/ ./.astro/
COPY --from=deps_dev --link --chown="${UID}:0" /app/node_modules/ ./node_modules/

Expand Down Expand Up @@ -200,9 +200,9 @@ ARG UID

# Set runtime environment
ENV APP_ENV=dev
ENV NODE_ENV=development

# Copy dev dependencies
ENV NODE_ENV=development
COPY --from=deps_dev --link --chown="${UID}:0" /app/.astro/ ./.astro/
COPY --from=deps_dev --link --chown="${UID}:0" /app/node_modules/ ./node_modules/

Expand Down Expand Up @@ -241,14 +241,15 @@ ARG UID

# Set runtime environment
ENV APP_ENV=prod
ENV NODE_ENV=production

# Install git, used to fetch history during build
# Install & configure git, used to fetch history during build
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && \
apt-get install -y git
apt-get install -y git && \
git config --global --add safe.directory /app

# Copy dev dependencies
ENV NODE_ENV=development
COPY --from=deps_dev --link --chown="${UID}:0" /app/node_modules/ ./node_modules/

# Copy source code
Expand Down
Loading