File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3838 - name : Add remote host to known_hosts
3939 run : |
4040 mkdir -p ~/.ssh
41- ssh-keyscan ${{ inputs .host }} >> ~/.ssh/known_hosts
41+ ssh-keyscan ${{ secrets .host }} >> ~/.ssh/known_hosts
4242 chmod 644 ~/.ssh/known_hosts
4343 shell : bash
4444
@@ -68,14 +68,14 @@ jobs:
6868 scp -o StrictHostKeyChecking=no \
6969 -i ~/.ssh/ghrunnerci \
7070 ./api/docker-compose.yml ./.env \
71- ${{ inputs .host }}:/opt/iapp-api/
71+ ${{ secrets .host }}:/opt/iapp-api/
7272 shell : bash
7373
7474 - name : Run Docker Compose on remote server
7575 run : |
7676 ssh -o StrictHostKeyChecking=no \
7777 -i ~/.ssh/ghrunnerci \
78- ${{ inputs .host }} << 'EOF'
78+ ${{ secrets .host }} << 'EOF'
7979 cd /opt/iapp-api
8080 docker compose pull
8181 docker compose down --remove-orphans
You can’t perform that action at this time.
0 commit comments