Skip to content

Commit

Permalink
rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
syafiqparadisam committed Jul 24, 2024
1 parent 2dca7e1 commit 94a89ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
context: "{{defaultContext}}:project"
push: true
tags: ${{secrets.DOCKER_USERNAME}}/portofolio:${{secrets.DOCKER_PORTOFOLIO_TAGS_APP}}
build-args: |
- VITE_SERVICE_ID=${{secrets.VITE_SERVICE_ID}}
- VITE_PUBLIC_KEY=${{secrets.VITE_PUBLIC_KEY}}
- VITE_TEMPLATE_ID=${{secrets.VITE_TEMPLATE_ID}}
build-args:
VITE_SERVICE_ID=${{secrets.VITE_SERVICE_ID}}
VITE_PUBLIC_KEY=${{secrets.VITE_PUBLIC_KEY}}
VITE_TEMPLATE_ID=${{secrets.VITE_TEMPLATE_ID}}
5 changes: 5 additions & 0 deletions project/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ RUN npm install
# Build the application
RUN npm run build

RUN echo ${VITE_PUBLIC_KEY}
RUN echo ${VITE_TEMPLATE_ID}
RUN echo ${VITE_SERVICE_ID}


# Use a lightweight web server to serve the app
FROM nginx:alpine

Expand Down

0 comments on commit 94a89ce

Please sign in to comment.