Skip to content

fix card media

fix card media #77

Workflow file for this run

name: React CI/CD on server
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: npm install
run: |
npm install
echo "Dependencies installed successfully"
- name: npm run build
run: |
npm run build
echo "Build completed successfully"
- name: Deploy to Hosting
run: |
scp -r -o StrictHostKeyChecking=no -i ${{ secrets.SSH_PRIVATE_KEY }} ./build/* ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}:${{ secrets.TARGET }}