Skip to content

chore: reinstall dependency #20

chore: reinstall dependency

chore: reinstall dependency #20

Workflow file for this run

name: CI AWS EC2
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
strategy:
matrix:
node-version: [20.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/my-app/
remote_host: ec2-13-212-180-135.ap-southeast-1.compute.amazonaws.com
remote_user: ubuntu
remote_key: "${{ secrets.AWS_EC2_SSH_KEY }}"