Skip to content

fix(): use correct units #26

fix(): use correct units

fix(): use correct units #26

Workflow file for this run

name: Node CI/CD
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install and Build
run: |
yarn
yarn build:prod
- name: Deploy
# uses: SamKirkland/[email protected]
# with:
# ftp-server: ${{ secrets.FTP_SERVER }}
# ftp-username: ${{ secrets.FTP_USERNAME }}
# ftp-password: ${{ secrets.FTP_PASSWORD }}
# git-ftp-args: --insecure
uses: pressidium/lftp-mirror-action@v1
with:
host: ${{ secrets.FTP_SERVER }}
user: ${{ secrets.FTP_USERNAME }}
pass: ${{ secrets.FTP_PASSWORD }}
localDir: 'frontend/dist/browser'