daily pastebin goal
73%
SHARE
TWEET

Untitled

a guest Jan 17th, 2019 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. stages:
  2.   - project_dev
  3.   - project_prod
  4.  
  5. develop:
  6.   stage: project_dev
  7.   script:
  8.      - apt-get update
  9.      - apt-get install lftp
  10.      - lftp -c "set ftp:ssl-allow no; open -u $USERNAME,$PASSWORD $HOST; mirror -Rev ./ $URL  --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env --exclude vendor/ --exclude config/ --exclude storage/ --exclude public/storage/ --exclude public/.htaccess --exclude public/robots.txt --exclude nbproject/"    
  11.      - echo "done!"
  12.   only:
  13.      - dev
  14.  
  15. production:
  16.   stage: project_prod
  17.   script:
  18.      - apt-get update
  19.      - apt-get install lftp
  20.      - lftp -c "set ftp:ssl-allow no; open -u $USERNAME_PROD,$PASSWORD_PROD $HOST_PROD; mirror -Rev ./ $URL_PROD  --ignore-time --parallel=10 --exclude-glob .git* --exclude .git/ --exclude .env --exclude vendor/ --exclude storage/ --exclude config/ --exclude public/storage/ --exclude public/.htaccess --exclude public/robots.txt --exclude nbproject/"    
  21.      - echo "done!"
  22.   only:
  23.      - master
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top