Skip to content

Update serve.js

Update serve.js #49

Workflow file for this run

name: Deploy to Linode
on:
push:
branches:
- prod
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install dependencies
run: npm i
working-directory: ./jgantts-com/
- name: build
run: |
npm run build
working-directory: ./jgantts-com/
- name: Deploy JGantts Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.LINODE_IP }}
username: ${{ secrets.LINODE_USER }}
key: ${{ secrets.LINODE_SSH_KEY }}
port: 22
source: './jgantts-server/*,./jgantts-com/dist/*,./jgantts-com/PUBLIC/*'
target: '/opt/nodejs/'