From f90ae7dbec13f936c074229a2b0cf3c82bf4a134 Mon Sep 17 00:00:00 2001 From: Rohit Pai Date: Fri, 20 Oct 2023 10:06:05 +0100 Subject: [PATCH] Updated ftp worflow to fix password issue Signed-off-by: Rohit Pai --- .github/workflows/ftpDeploy.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index 48506ef..0767ae1 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -8,19 +8,21 @@ jobs: - name: 🚚 Get latest code uses: actions/checkout@v3 - - name: Use Node.js Latest + - name: Use Node.js 12 uses: actions/setup-node@v3 with: - node-version: 'latest' - - run: | + node-version: 'latestFTPPASSWORD' + + - name: 🔨Run Gulp + run: | export github="true" npm install npm start - + - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.4 + uses: SamKirkland/FTP-Deploy-Action@4.3.4 with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: $${{ FTPPASSWORD }} - local_dir: ./dist \ No newline at end of file + password: ${{ FTPPASSWORD }} + local-dir: ./dist/