If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2020
    Member #

    Script to deploy web site files? ssh or rsync?

    Does anyone know of a web deployment script that will remotely publish files using a file list, that includes permissions and ownership info? I'm trying to avoid reinventing the wheel (and testing it!).

    I suspect the script would be a flat file; each line would include the file path, ownership and permissions. The script would invoke ssh or rsync to deploy the website to the remote server.

    I have my web site stored locally in a Git repo and want to automate deployment of it.

    Perhaps a file would be created like:

    ./public_html type-f-or-d owner permissions
    ./public_html/index.html type-f-or-d owner permissions
    and a script would parse this, making appropriate ssh commands to the remote server.

    I suspect a simple shell script is required, however I'm trying to avoid re-inventing the wheel (test cases, etc).



  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Cottage Grove, Minnesota
    Member #
    760 times
    Way above my technical skills. sorry.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Tags for this Thread

All times are GMT -6. The time now is 08:13 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: