Skip to content

Try deploying to port 22 #15

Try deploying to port 22

Try deploying to port 22 #15

Workflow file for this run

name: CPanel Deployment to https://stephenandrewtaylor.net/rare-diseases
on: push
# on:
# push:
# branches:
# - main
jobs:
web-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "22"
- name: Build
run: |
npm i
npm run all
npx tsc
npx vite build --base https://stephenandrewtaylor.net/rare-diseases/
ls
- name: Deploy
uses: SamKirkland/[email protected]
with:
server: ftp.stephenandrewtaylor.net
port: 22
username: [email protected]
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
server-dir: ./rare-diseases/
dry-run: true