Probando conexion al server
This commit is contained in:
@@ -22,18 +22,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run build step
|
- name: Run build step
|
||||||
run: ./build.sh
|
run: ./build.sh
|
||||||
|
- name: Configure Server
|
||||||
- name: Display structure of downloaded files
|
run: |
|
||||||
run: ls -R
|
echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
|
||||||
|
ssh -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
|
||||||
#
|
ls
|
||||||
# run: |
|
'
|
||||||
# echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
|
|
||||||
# ssh -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
|
|
||||||
# cd /home/ubuntu/CounterApp &&
|
|
||||||
# git checkout master &&
|
|
||||||
# git fetch --all &&
|
|
||||||
# git reset --hard origin/master &&
|
|
||||||
# git pull origin master &&
|
|
||||||
# docker-compose -f docker-compose.prod.yml up -d --build
|
|
||||||
# '
|
|
||||||
|
|||||||
Reference in New Issue
Block a user