aizu's Knowledge Base
    • Go to: aizu.my Homepage
    • Recent
    • Tags
    • Register
    • Login

    pull.sh script

    Linux
    1
    1
    60
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aizu
      last edited by

      cd "/var/www/domain.com/www/source"
      git reset --hard
      git pull
      npm i
      npm run build
      pm2 reload "project_name" 
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post