Skip to content

Commit

Permalink
fix: frotnend tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Jul 19, 2024
1 parent b6f4928 commit 7ec17e1
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
with:
context: .
push: true
target: live
tags: naxa/dronetm:frontend
file: ./src/frontend/Dockerfile

Expand Down Expand Up @@ -83,23 +84,9 @@ jobs:
- name: create env file
run: |
echo '${{ secrets.BACKEND_ENV_VARS }}' > .env
- name: copy file via ssh
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
source: ".env"
target: /srv/Projects/Drone-TM
- name: Deploy to VM
run: |
pwd
ls -alh
cat .env
source .env
docker compose --file docker-compose.vm.yml --env-file .env pull
docker compose --file docker-compose.vm.yml --env-file .env up \
--detach --remove-orphans --force-recreate
Expand Down

0 comments on commit 7ec17e1

Please sign in to comment.