forked from alphagov/govuk_frontend_toolkit_gem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 845 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: ruby
sudo: false
branches:
only:
- master
before_install:
- openssl aes-256-cbc -K $encrypted_839034082a06_key -iv $encrypted_839034082a06_iv -in .travis/govuk_frontend_toolkit_gem_push.enc -out ~/.ssh/id_rsa -d
- chmod 600 ~/.ssh/id_rsa
- git config --global user.name "Travis CI"
- git config --global user.email "[email protected]"
- git remote add origin_ssh [email protected]:alphagov/govuk_frontend_toolkit_gem.git
install:
- echo "No dependencies to install"
script:
- ./publish.sh
deploy:
provider: rubygems
api_key:
secure: G1jZasAAUiHjZji6jbASaD1C41qXjpFNz58NEvw0EjgtM49qW062Qwjo6TcG83gYLUAq19WDDS3xrqqsDj4T/s84cpQcjqrZebgbZq2HqM4KepiRFOIzqJYTq2Lrl7ZdMqFKp+EUfo2WSRZQv94K+RyQqTAnLEyZB5zpfV/H+ok=
gem: govuk_frontend_toolkit
on:
branch: master
repo: alphagov/govuk_frontend_toolkit_gem