Refactor LatestSpyReports to SpyReportsList #47
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |