Skip to content

chore: set secure cookie from .env #55

chore: set secure cookie from .env

chore: set secure cookie from .env #55

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 22
script: |
cd /var/www/minishop/
git reset --hard HEAD
git pull origin main
git clean -fd
git status
npm install --only=prod
cd backend
npm install --only=prod