Probando conexion al server
Some checks failed
CD for startPage / build (push) Successful in 9s
CD for startPage / deploy (push) Failing after 9s

This commit is contained in:
2023-07-01 01:17:05 -04:00
parent 6822ba80d0
commit aa59c8e34f

View File

@@ -22,18 +22,9 @@ jobs:
- uses: actions/checkout@v3
- name: Run build step
run: ./build.sh
- name: Display structure of downloaded files
run: ls -R
#
# 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
# '
- name: Configure Server
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 }} '
ls
'