Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nicomaht committed Nov 7, 2023
1 parent 3a80bf5 commit dbe2453
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ jobs:
SECRET_PORT: ${{ secrets.SECRET_PORT }}
SECRET_PRIVATE_SSH: ${{ secrets.SECRET_PRIVATE_SSH }}
run: |
echo "${{ secrets.SECRET_PRIVATE_SSH }}" > p.key
mkdir -p ~/.ssh
touch ~/.ssh/known_hosts
ssh-keyscan ${{ secrets.SECRET_HOST }} >> ~/.ssh/known_hosts
eval "$(ssh-agent -s)"
ssh-add ./p.key
ssh-add ${{ secrets.SECRET_PRIVATE_SSH }}
ssh -i -p ${{ secrets.SECRET_PORT }} ${{ secrets.SECRET_USER }}@${{ secrets.SECRET_HOST }} "cd /project/Swissdle
&& git pull origin main
&& cd backend-laravel && composer install
Expand Down

0 comments on commit dbe2453

Please sign in to comment.