Skip to content

chore: update ga

chore: update ga #37

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install npm dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy to Server
uses: burnett01/rsync-deployments@5.2.1
with:
switches: -avzr --delete
path: "dist/"
remote_path: ${{ secrets.REMOTE_TARGET }}
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.SERVER_SSH_KEY }}