File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - name : setup for docker building tools
1818 uses : docker/setup-buildx-action@v3
1919
20- - name : uploading all repo
21- uses : trendyminds/github-actions-rsync@master
22- with :
23- RSYNC_OPTIONS : -avzr --delete --exclude node_modules --exclude '.git*'
24- RSYNC_TARGET : /home/ec2-user/
25- RSYNC_SOURCE : ./
26- env :
27- SSH_PRIVATE_KEY : ${{secrets.VPS_SSH_KEY}}
28- SSH_USERNAME : ${{secrets.VPS_USER}}
29- SSH_HOSTNAME : ${{secrets.VPS_HOST}}
20+ - name : Deploy with rsync
21+ run : rsync -V
3022
3123 - name : install utilities
3224 run : |
4941 run : |
5042 mkdir images
5143 docker save milk-folio_backend:latest milk-folio_webview:latest > ./images/images.tar
44+
45+ # this for the deployment of the images
46+ - name : Install SSH Key
47+ uses : shimataro/ssh-key-action@v2
48+ with :
49+ key : ${{ secrets.VPS_SSH_KEY }}
50+
51+ - name : Adding Known Hosts
52+ run : ssh-keyscan -H ${{ secrets.VPS_HOST }} >> ~/.ssh/known_hosts
53+
You can’t perform that action at this time.
0 commit comments