From a9138864a23724d0d9cf8bc2c8c6d1ffb4a9f2e0 Mon Sep 17 00:00:00 2001 From: Akeko Date: Fri, 22 Mar 2024 11:50:47 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ef9a4c3..2d5bf27 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,33 +1,33 @@ -on: +on: push: branches: - main -name: 🚀 Deploy website on +name: 🚀 Deploy website on push jobs: web-deploy: name: 🎉 Deploy runs-on: ubuntu-latest steps: - - name: 🚚 Get lastest code + - name: 🚚 Get latest code uses: actions/checkout@v3 - name: Use Node.js 20 uses: actions/setup-node@v2 with: - node-version: "20" - - - name: 🔨 Build FrontEnd + node-version: '20' + + - name: 🔨 Build Project run: | cd client npm install npm run build - - - name: 📁 Sync File + + - name: 📂 Sync files uses: AkekoChan/flami-app with: server: ${{ secrets.GIT_CPANEL_SERVER }} username: ${{ secrets.GIT_CPANEL_USER }} password: ${{ secrets.GIT_CPANEL_PWD }} protocol: ${{ secrets.GIT_CPANEL_PROTOCOL }} - local-dir: ./build/ + local-dir: ./build/ \ No newline at end of file