Skip to content

Refactor LatestSpyReports to SpyReportsList #47

Refactor LatestSpyReports to SpyReportsList

Refactor LatestSpyReports to SpyReportsList #47

Workflow file for this run

# Build Project
name: Deploy Project to Dev Env
on:
workflow_dispatch:
push:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
#- name: Test project
# run: npm test
- name: Deploy Project to Dev
uses: AbleLincoln/push-to-sftp@v2.1
with:
host: ${{ secrets.DEV_SSH_HOST }}
port: 22
username: ${{ secrets.DEV_SSH_USER }}
privateKey: ${{ secrets.DEV_SSH_PRIVATE_KEY }}
sourceDir: ./build/
targetDir: www