From 1bb9c7af65b48baa197ca22a8b70278203602621 Mon Sep 17 00:00:00 2001 From: Akeko Date: Fri, 22 Mar 2024 11:37:17 +0100 Subject: [PATCH] build: github actions file --- .github/workflows/deploy.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3c97b85..8d12991 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,13 +23,11 @@ jobs: npm install npm run build - - name: 🔨 Build BackEnd - run: | - cd server - npm install - npm run start - - name: 📁 Sync File uses: AkekoChan/flami-app with: - server: + server: ${{ secrets.GIT_CPANEL_SERVER }} + username: ${{ secrets.GIT_CPANEL_USER }} + password: ${{ secrets.GIT_CPANEL_PWD }} + protocol: ${{ secrets.GIT_CPANEL_PROTOCOL }} + local-dir: ./build/