Skip to content

Merge branch 'main' into quinnouyang/continuous-deployment #13

Merge branch 'main' into quinnouyang/continuous-deployment

Merge branch 'main' into quinnouyang/continuous-deployment #13

Workflow file for this run

name: CPanel Deployment to https://stephenandrewtaylor.net/rare-diseases
on: push
# on:
# push:
# branches:
# - main
jobs:
web-deploy:
name: 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 and Deploy project
run: |
npm i
npm run all
npx tsc
npx vite build --base https://stephenandrewtaylor.net/rare-diseases/
ls
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
with:
server: ftp.stephenandrewtaylor.net
username: quinnouyang@stephenandrewtaylor.net
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./dist/
server-dir: ./rare-diseases/
dry-run: true