mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Update .gitlab-ci.yml
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
image: php:7.2
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- vendor/
|
||||
|
||||
before_script:
|
||||
- apt-get update -qq && apt-get install -y -qq sshpass
|
||||
- apt-get install zip unzip
|
||||
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
- php composer-setup.php
|
||||
- php -r "unlink('composer-setup.php');"
|
||||
- php composer.phar install
|
||||
- npm install
|
||||
- apt-get update -qq && apt-get install -y -qq sshpass
|
||||
- apt-get install git -yqq
|
||||
- curl -sS https://getcomposer.org/installer | php
|
||||
- php composer.phar install
|
||||
|
||||
deploy_stage:
|
||||
stage: deploy
|
||||
|
||||
Reference in New Issue
Block a user