Skip to content

Commit

Permalink
Merge branch 'main' of github.com:ellieliiii/cs4279
Browse files Browse the repository at this point in the history
message
  • Loading branch information
mpak123 committed Apr 7, 2024
2 parents 6679ce7 + 8733083 commit c3ffa87
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/main.yml → .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,19 @@ name: CI
on:
push:
branches: [ main ]
paths-ignore:
- 'student-match/**'
- '.vscode/**'
pull_request:
branches: [ main ]

workflow_dispatch:

defaults:
run:
shell: bash
working-directory: ./backend

jobs:
build:

Expand All @@ -22,15 +30,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- run: npm run start
- run: npm i
# - run: npm run test

- name: rsync deployments
uses: burnett01/[email protected]
with:
switches: -avzr --delete
path: ./*
remote_path: /var/www/cs4279-backend/
remote_host: ubuntu@ec2-3-140-189-217.us-east-2.compute.amazonaws.com
path: ./backend
remote_path: /home/ubuntu/projects/cs4279-backend
remote_host: ec2-3-140-189-217.us-east-2.compute.amazonaws.com
remote_user: ubuntu
remote_key: "${{ secrets.SSH_PRIVATE_KEY }}"

0 comments on commit c3ffa87

Please sign in to comment.