Skip to content

Workflow file for this run

on:
push:
branches:
- master
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Use Node.js 22
uses: actions/setup-node@v2
with:
node-version: '22'
- name: 🔨 Build Project
run: |
npm install
npm run build
- name: 📂 Sync files
uses: SamKirkland/web-deploy@v1
with:
target-server: reference8.com
remote-user: ${{ secrets.SERVER_USERNAME }}
private-ssh-key: ${{ secrets.SERVER_SSH_KEY }}
ssh-port: 65002
destination-path: /domains/reference8.com/public_html/