Skip to content

Commit

Permalink
add TAG env to otc.yml config file
Browse files Browse the repository at this point in the history
  • Loading branch information
fatemeh-i committed Mar 12, 2024
1 parent 1753d30 commit 712c18e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main-otc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
echo "${{secrets.SSH_PRIVATE_KEY_PRO}}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{secrets.SSH_HOST_PRO}} >~/.ssh/known_hosts
- name: pull docker images in dest server
env:
TAG: otc-op
run: |
ssh ${{secrets.SSH_USER_PRO}}@${{secrets.SSH_HOST_PRO}} "cd ${{secrets.SSH_DIR}} && docker compose -f docker-compose-otc.yml -f docker-compose-otc.local.yml up --build -d && exit "

0 comments on commit 712c18e

Please sign in to comment.