refactor(ci): disable build.sh

parent 4d7abbfb
Pipeline #675 passed with stages
in 4 seconds
...@@ -33,7 +33,7 @@ staging: ...@@ -33,7 +33,7 @@ staging:
- www/vendor/ - www/vendor/
environment: environment:
name: staging name: staging
url: http://staging.1.dev.1119.zolotoykod.ru url: "http://staging.1.dev.1119.zolotoykod.ru"
artifacts: artifacts:
paths: paths:
- $BUILD_PATH - $BUILD_PATH
...@@ -50,6 +50,6 @@ production: ...@@ -50,6 +50,6 @@ production:
GIT_STRATEGY: none GIT_STRATEGY: none
environment: environment:
name: production name: production
url: http://production.1.dev.1119.zolotoykod.ru url: "http://production.1.dev.1119.zolotoykod.ru"
only: only:
- tags - tags
#!/bin/bash #!/bin/bash
( # (
cd /home/bitrix/site \ # cd /home/bitrix/site \
&& ( # && (
# Install dependencies # # Install dependencies
yarn install --no-progress --no-bin-links \ # yarn install --no-progress --no-bin-links \
& composer update --no-progress \ # & composer update --no-progress \
& wait # & wait
) && ( # ) && (
# Build and migrations # # Build and migrations
gulp \ # gulp \
&& php migrator migrate # && php migrator migrate
) && ( # ) && (
# Set permissions # # Set permissions
chown -R bitrix.bitrix /home/bitrix/site # chown -R bitrix.bitrix /home/bitrix/site
) # )
) # )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment