Skip to content

Commit

Permalink
Merge pull request #50 from hypersign-protocol/update-prajna
Browse files Browse the repository at this point in the history
update
  • Loading branch information
Pratap2018 authored Dec 28, 2023
2 parents 3f2991a + 9cf634f commit 64d6505
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:

- name: "Docker Auth"
run: gcloud auth configure-docker ${{secrets.GOOGLE_ARTIFACT_URL}}
- name: "Get Hypersign json"
run: echo ${{ secrets.HYPERSIGN_JSON}} >> hypersign.json
- name: "Docker Build and Push"
env:
GOOGLE_PROJECT_ID: ${{secrets.GOOGLE_PROJECT_ID}}
Expand Down Expand Up @@ -98,7 +100,7 @@ jobs:
- name: "Replace Secrets"
run: find .deploy/deployment.yaml -type f -exec sed -i "s#__MAX_BATCH_SIZE__#${{ secrets.MAX_BATCH_SIZE }}#" {} \;
- name: "Replace Secrets"
run: find .deploy/deployment.yaml -type f -exec sed -i "s#__DB_URL__#${{ secrets.DB_URL }}#" {} \;
run: find .deploy/deployment.yaml -type f -exec sed -i -e "s#__DB_URL__#${{ secrets.DB_URL }}#" {} \;
- name: "Replace Secrets"
run: find .deploy/deployment.yaml -type f -exec sed -i "s#__MINIMUM_DELAY__#${{ secrets.MINIMUM_DELAY }}#" {} \;
- name: "Replace Secrets"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ COPY ./tsconfig.json .
RUN npm install

COPY . .
CMD [ "npm","run","build", "&&" , "npm", "run","start"]
RUN npm run build
CMD [ "npm", "run","start"]



Expand Down
4 changes: 3 additions & 1 deletion Txn.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ COPY ./tsconfig.json .
RUN npm install

COPY . .
CMD [ "npm","run","build", "&&", "npm", "run","service:start"]
RUN npm run build

CMD [ "npm", "run","service:start"]



Expand Down

0 comments on commit 64d6505

Please sign in to comment.