Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
image:
name: composer:1.9.1
package:
before_script:
- composer config -g cache-dir "$(pwd)/.composer-cache"
script:
- composer install --ignore-platform-reqs --no-dev --optimize-autoloader --no-ansi --no-interaction --no-progress
- rm -rf .git .gitlab-ci.yml .gitignore
- rm -rf .composer-cache
cache:
paths:
- .composer-cache/
artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_TAG"
paths:
- .
only:
refs:
- tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment