Skip to content

Merge branch 'dynamic_load' #61

Merge branch 'dynamic_load'

Merge branch 'dynamic_load' #61

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
FTP_SERVER: ${{ secrets.FTP_SERVER }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build
- name: Deploy to FTP server
if: env.FTP_SERVER != ''
uses: SamKirkland/[email protected]
with:
server: ${{ env.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: dist/
server-dir: /www/