From c8153805659fedf53f7cec6387450cb2078a71d6 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Fri, 21 Feb 2020 09:22:59 -0700 Subject: [PATCH] Added deployment step to Travis config --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.travis.yml b/.travis.yml index 85fca7b..195423e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,3 +25,17 @@ script: - app/vendor/bin/psalm --show-info=true - app/vendor/bin/phpunit --coverage-text - npm run production --verbose + +before_deploy: make artifacts + +deploy: + on: + tags: true + provider: releases + token: ${GITHUB_TOKEN} + name: v${TRAVIS_TAG} + draft: true + file: + - artifacts/DirectoryLister-${TRAVIS_TAG}.tar.gz + - artifacts/DirectoryLister-${TRAVIS_TAG}.zip + edge: true