Skip to content

Update topic content order numbers after sorting by dragging #27

Update topic content order numbers after sorting by dragging

Update topic content order numbers after sorting by dragging #27

Workflow file for this run

name: Deploy to production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup node and install dependencies
uses: actions/setup-node@v2
with:
node-version: 18.x
- run: yarn install
- name: Deploy using SSH
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
cd ~/backoffice
git pull
yarn install
yarn build
pm2 restart backoffice