Skip to content

Commit

Permalink
chore: fix temporary path for deploy branch environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jycssu-com committed Jun 11, 2024
1 parent 5af1047 commit aef2e8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test and deploy to branch
on:
push:
branches:
- preprod
# - preprod
- develop

jobs:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Update branch environment
run: |
ssh staging 'export DOCKER_BRANCH=${{ github.ref_name }}
cd /home/realt/docker/dashboard-v2/${DOCKER_BRANCH}
cd /home/realt/docker/dashboard-v2/preprod
git pull origin develop
docker compose --file docker-compose-branch.yml pull
docker login -u ${{ secrets.DOCKER_LOGIN }} -p ${{ secrets.DOCKER_PASSWD }} ${{ secrets.DOCKER_REGISTRY }}
Expand Down

0 comments on commit aef2e8b

Please sign in to comment.