Skip to content

Commit

Permalink
fix: dev deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Aug 15, 2024
1 parent 7514d6c commit fc5f401
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
docker push "${{ secrets.DOCKER_USERNAME }}/bt-backend:${{ github.sha }}"
docker push "${{ secrets.DOCKER_USERNAME }}/bt-frontend:${{ github.sha }}"
- name: executing remote ssh commands using ssh key
- name: SSH and Helm Install
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: root
key: ${{ secrets.SSH_KEY }}
script: |
cd ./infra
helm install bt-dev-app-${{ github.sha }} ./app --namespace=bt \
--set host=${{ github.sha }}.stanfurdtime.com \
--set mongoUri=mongodb://bt-dev-mongo-mongodb.bt.svc.cluster.local:27017/bt \
Expand Down

0 comments on commit fc5f401

Please sign in to comment.