Skip to content

update package-lock.json #26

update package-lock.json

update package-lock.json #26

Workflow file for this run

on: push
name: πŸš€ Deploy to Production server
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: πŸ”¨ Build Project
run: |
npm install
npm run build
- name: πŸ“‚ Sync files
uses: SamKirkland/FTP-Deploy-Action@4.3.2
with:
server: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
**/.idea*
**/.idea*/**
timeout: 180000