From 81a6269aab551d167085e63424d5819c802f80f4 Mon Sep 17 00:00:00 2001 From: Ndibe Raymond Olisaemeka Date: Fri, 23 Feb 2024 21:16:33 +0100 Subject: [PATCH] fix frontend deployment bug (#1118) Signed-off-by: Ndibe Raymond Olisaemeka Co-authored-by: Ndibe Raymond Olisaemeka --- .github/workflows/build_deploy_frontend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_deploy_frontend.yml b/.github/workflows/build_deploy_frontend.yml index ff0610bee..8925e3fd0 100644 --- a/.github/workflows/build_deploy_frontend.yml +++ b/.github/workflows/build_deploy_frontend.yml @@ -37,8 +37,8 @@ jobs: - uses: unstructuredstudio/zubhub/.github/actions/scp_action@master with: - host: ${{ vars.DO_BACKEND_HOST }} - username: ${{ vars.DO_BACKEND_USERNAME }} + host: ${{ vars.DO_FRONTEND_HOST }} + username: ${{ vars.DO_FRONTEND_USERNAME }} key: ${{ secrets.DO_SSHKEY }} source: "." target: "/home/zubhub-frontend/zubhub" @@ -65,7 +65,7 @@ jobs: script: | docker system prune -a -f - + volumes=$(docker volume ls -q) # Loop through the volumes while IFS= read -r volume; do