Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

deploy: add dev note #2

deploy: add dev note

deploy: add dev note #2

Workflow file for this run

name: Deploy to FTP
on:
push:
branches: ["dev"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install dependencies
run: npm install
- name: Build the site
run: npm run build:prod
- name: Deploy to FTP
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
server-dir: www/map/