Skip to content

Commit

Permalink
ci: fix ci with build -> dist
Browse files Browse the repository at this point in the history
  • Loading branch information
QRuhier committed Jul 16, 2024
1 parent 61e4a86 commit 70c7d50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
name: pogues
path: dist
- name: Zip bundle
run: cd build && zip -r ../pogues.zip ./* && cd ..
run: cd dist && zip -r ../pogues.zip ./* && cd ..
- uses: softprops/action-gh-release@v1
with:
name: Release ${{ needs.check_if_version_upgraded.outputs.version }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ENV NGINX_USER=nginx

USER $NGINX_USER_ID

# Add build to nginx root webapp
COPY --chown=$NGINX_USER:$NGINX_USER build /usr/share/nginx/html
# Add dist to nginx root webapp
COPY --chown=$NGINX_USER:$NGINX_USER dist /usr/share/nginx/html

# Copy nginx configuration
RUN rm etc/nginx/conf.d/default.conf
Expand Down

0 comments on commit 70c7d50

Please sign in to comment.