Skip to content

refactor(core): elevate to senior architecture standards #8

refactor(core): elevate to senior architecture standards

refactor(core): elevate to senior architecture standards #8

Workflow file for this run

name: Deploy via FTP
on:
push:
branches:
- main # Change this to your deployment branch if needed
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: ⚙️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: 📦 Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: 📥 Install Dependencies
run: pnpm install --frozen-lockfile
- name: 🏗️ Build Project
run: pnpm run build
# Uncomment the block below and set up GitHub Secrets to enable FTP deployment
#
# - name: 🚀 Sync files to FTP
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
# with:
# server: ${{ secrets.FTP_SERVER }}
# username: ${{ secrets.FTP_USERNAME }}
# password: ${{ secrets.FTP_PASSWORD }}
# local-dir: ./dist/ # The build output directory
# server-dir: /public_html/ # Change to your server's public directory