Skip to content

Commit

Permalink
💚: copie seulement du backend
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPLukaas committed Mar 14, 2024
1 parent d67eab9 commit 217a707
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/deploy-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Upload PHP code
run: scp -o StrictHostKeyChecking=no -r * ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }}:/home/julesartd/www/api-dev-edt-3il

run: scp -o StrictHostKeyChecking=no -r backend ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }}:/home/julesartd/www/api-dev-edt-3il

install_dependencies:
needs: deploy
Expand All @@ -49,16 +48,6 @@ jobs:
script: |
cd /home/julesartd/www/api-dev-edt-3il/backend
vendor/bin/php-cs-fixer fix src
- name: Suppression du frontend
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /home/julesartd/www/api-dev-edt-3il
rm -rf frontend


0 comments on commit 217a707

Please sign in to comment.