Skip to content

Commit

Permalink
edit of main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciframa committed Jun 24, 2024
1 parent eb85dcb commit 1faf206
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
with:
node-version: '14'

- name: Install dependencies
run: npm install

- name: Build Frontend
run: npm run build # Adjust this command based on your frontend build process
- name: Install dependencies and build Frontend
run: |
npm install
npm run build # Adjust this based on your actual build command
- name: Deploy Frontend via SFTP
env:
Expand All @@ -47,4 +46,5 @@ jobs:
run: |
apt-get update
apt-get install -y lftp
lftp -e "set ssl:verify-certificate no; open -u $FTP_USERNAME,$FTP_PASSWORD 287586.w86.wedos.net && mirror -R path_to_your_build_directory /www/subdom/devTest"
cd dist # Navigate to the build output directory
lftp -e "set ssl:verify-certificate no; open -u $FTP_USERNAME,$FTP_PASSWORD 287586.w86.wedos.net && mirror -R . /www/subdom/devTest"

0 comments on commit 1faf206

Please sign in to comment.