Skip to content

Merge branch 'update-dependencies' #37

Merge branch 'update-dependencies'

Merge branch 'update-dependencies' #37

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Build
run: npm run buildProd
- name: Copy build to server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
port: ${{ secrets.SERVER_PORT }}
source: dist/spa
target: /home/arborator/arborator-frontend-test