diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 411b083..7035e39 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -15,7 +15,7 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }} aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }} aws-region: ap-northeast-2 - + - name: Deploy Test Server uses: appleboy/ssh-action@v0.1.6 with: @@ -25,7 +25,11 @@ jobs: script_stop: true script: | cd sroom-ai/ - git pull + + git fetch + git checkout ${{ github.event.pull_request.head.ref }} + git pull origin ${{ github.event.pull_request.head.ref }} + pip3 install -r requirements.txt tmux send-keys -t celery "^C" C-m