Skip to content

Commit

Permalink
feat: updated paths
Browse files Browse the repository at this point in the history
  • Loading branch information
seeratawan01 committed Oct 16, 2024
1 parent 6cd51c1 commit 9e9cbff
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: usermaven-js-stage
DOCKERFILE_PATH: packages/javascript-sdk/docker/Dockerfile
DOCKERFILE_PATH: docker/Dockerfile

jobs:
dev_publish:
Expand Down Expand Up @@ -76,6 +76,13 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.PAT }}

- name: List directory contents
run: |
echo "Root directory:"
ls -R
echo "packages/javascript-sdk directory:"
ls -R packages/javascript-sdk
- name: Extract metadata for Docker
id: meta
uses: docker/metadata-action@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
types: [ closed ]
branches:
- master
- master
# on:
# push:
# branches:
Expand All @@ -23,4 +23,4 @@ jobs:
bump_version_scheme: patch
tag_prefix: ""
outputs:
version: ${{ steps.release.outputs.version }}
version: ${{ steps.release.outputs.version }}
4 changes: 2 additions & 2 deletions packages/javascript-sdk/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ RUN pnpm install && pnpm build
FROM nginx:latest
COPY --from=builder /usr/src/dist/lib.js /usr/share/nginx/html
RUN rm /etc/nginx/nginx.conf && rm /etc/nginx/conf.d/default.conf
COPY packages/javascript-sdk/docker/nginx.conf /etc/nginx/nginx.conf
COPY packages/javascript-sdk/docker/default.conf /etc/nginx/conf.d/default.conf
COPY docker/nginx.conf /etc/nginx/nginx.conf
COPY docker/default.conf /etc/nginx/conf.d/default.conf

0 comments on commit 9e9cbff

Please sign in to comment.