Skip to content

Commit

Permalink
ci: update api ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Jul 6, 2024
1 parent c6b8bbe commit df365b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,4 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# Only push if (there's a new release on main branch, or if building a non-main branch) and (Only run on non-PR events or only PRs that aren't from forks)
push: ${{ (github.ref != 'refs/heads/master' || needs.semantic-release.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
push: ${{ (github.ref != 'refs/heads/main' || needs.semantic-release.outputs.new_release_version != '') && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }}
2 changes: 1 addition & 1 deletion docker/runes-api.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM node:20-alpine

WORKDIR /app
COPY ./api /app
COPY .git /app/.git
COPY .git /.git

RUN apk add --no-cache --virtual .build-deps git
RUN npm ci --no-audit && \
Expand Down

0 comments on commit df365b9

Please sign in to comment.