Skip to content

fix: Откатил версию node до 21.3.0 #64

fix: Откатил версию node до 21.3.0

fix: Откатил версию node до 21.3.0 #64

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
concurrency:
group: deploy
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Run ssh action with git pull and docker rebuild
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_SERVER_HOST }}
username: ${{ secrets.DEPLOY_SERVER_USERNAME }}
password: ${{ secrets.DEPLOY_SERVER_PASSWORD }}
script: |
cd ${{ secrets.DEPLOY_SERVER_WORK_DIR }}
git fetch origin main
git reset origin/main --hard
docker compose -f docker-compose.prod.yml up -d --build