Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Nov 6, 2024
1 parent 58119f2 commit a0bf43e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
if: github.event_name == 'push'
run: npx commitlint --last --verbose

- name: Debug Git
run: git log -n 5 --pretty=oneline

- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ RUN NEXT_TELEMETRY_DISABLED=1 npm run build
# Stage 2: Copy the website from the previous container to a Nginx container
FROM nginxinc/nginx-unprivileged:alpine
EXPOSE 8080
COPY --from=build /app/packages/diracx-web/out /usr/share/nginx/html
COPY --from=build /app/out /usr/share/nginx/html
COPY ./config/nginx/default.conf /etc/nginx/conf.d/default.conf
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"dev": "npm --prefix packages/diracx-web run dev",
"build": "npm --prefix packages/diracx-web-components run build && npm --prefix packages/diracx-web run build",
"build": "npm --prefix packages/diracx-web-components run build && npm --prefix packages/diracx-web run build && mv -f packages/diracx-web/out ./out",
"test:diracx-web-components": "npm --prefix packages/diracx-web-components run test",
"build:diracx-web-components": "npm --prefix packages/diracx-web-components run build",
"lint": "npm --prefix packages/diracx-web-components run lint && npm --prefix packages/diracx-web run lint",
Expand Down

0 comments on commit a0bf43e

Please sign in to comment.