Skip to content

Try downgrading the action #6

Try downgrading the action

Try downgrading the action #6

Workflow file for this run

name: Deploy SvelteKit Site to FTP Server
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy to FTP Server
uses: SamKirkland/FTP-Deploy-Action@v3.1.1
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: build/
server-dir: public_html/