From b9fec5e7b4f1c7f3fe3305e54c2d80603ef7036a Mon Sep 17 00:00:00 2001
From: Debucquoy <debucqquoy.anthony@gmail.com>
Date: Tue, 20 Feb 2024 11:10:50 +0100
Subject: [PATCH] deploy fix typo

---
 .gitea/workflows/deploy.yaml | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml
index 0647dda..d918ae1 100644
--- a/.gitea/workflows/deploy.yaml
+++ b/.gitea/workflows/deploy.yaml
@@ -11,16 +11,20 @@ jobs:
   deploy-frontend:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v4
-      - uses: actions/setup-node@v3
-        working-directory: ./frontend
-      - name: building 
-        working-directory: ./frontend
-        run: npm run build 
-      - name: pushing to the server
-        working-directory: ./frontend
-        run: |
-          echo "${{ secrets.SSH_KEY }}" > key
-          chmod 0600 key
-          scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:
-      - run: echo "The website has been deployed. visit https://clyde.herisson.ovh/"
+    - uses: actions/checkout@v4
+    - name: Use Node.js ${{ matrix.node-version }}
+      uses: actions/setup-node@v3
+      working-directory: ./frontend
+    - run: npm ci 
+      name: clean install
+      working-directory: ./frontend
+    - name: building 
+      working-directory: ./frontend
+      run: npm run build
+    - name: pushing to the server
+      working-directory: ./frontend
+      run: |
+        echo "${{ secrets.SSH_KEY }}" > key
+        chmod 0600 key
+        scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:
+    - run: echo "The website has been deployed. visit https://clyde.herisson.ovh/"