Skip to content

Merge pull request #63 from Anusree-mj/develop #46

Merge pull request #63 from Anusree-mj/develop

Merge pull request #63 from Anusree-mj/develop #46

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- run: npm ci
- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: ./*
remote_path: /var/www/E-commerce-TrioCart/
remote_host: ec2-13-233-48-118.ap-south-1.compute.amazonaws.com
remote_user: ubuntu
remote_key: "${{ secrets.SSH_PRIVATE_KEY }}"