Skip to content

Migrate from CRA to Vite (#74) #3

Migrate from CRA to Vite (#74)

Migrate from CRA to Vite (#74) #3

Workflow file for this run

name: Services
on:
push:
branches: [main]
jobs:
build_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.11.0
- name: Installing Dependencies
run: npm ci
- name: Building
run: npm run build
- name: Deploying
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: "frontend/build/"