We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09abdc3 commit a9e098fCopy full SHA for a9e098f
.github/workflows/deploy.yml
@@ -20,10 +20,10 @@ jobs:
20
- name: Checkout
21
uses: actions/checkout@v3
22
23
- - name: "Deploy to $APP_HOST $DEPLOY_DIR"
+ - name: "Deploy to @${{ APP_HOST }} @${{ $DEPLOY_DIR }}"
24
run: |
25
eval $(ssh-agent)
26
base64 -d <<< "${{ secrets.PT_SSH_BASE64 }}" | ssh-add -
27
ssh-add -l
28
- ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=etc/known_hosts $SSH_USER@$APP_HOST "python3 --version; hostname; pwd; ls -l"
+ ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=etc/known_hosts $SSH_USER@$APP_HOST "python3 --version; hostname; pwd; cd $DEPLOY_DIR; ls -l"
29
ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=etc/known_hosts $SSH_USER@$APP_HOST "cd $DEPLOY_DIR; git checkout main && git pull --recurse-submodules"
0 commit comments