Skip to content

Deploy

Deploy #304

Workflow file for this run

name: Deploy
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
# Build job
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Sync files
uses: SamKirkland/[email protected]
with:
server: w01ec151.kasserver.com
username: w01ec151
password: ${{ secrets.ONEWARE_FTP }}
local-dir: build/
server-dir: one-ware.com/