Sha256: 351dfad22d9d0e089b7ba1b6786effc97eea03c09ed6d8284b9425adf01e0947

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

# Travis encrypted files

This directory contains a public/private keypair generated just for this repository.

The public key is a deploy key which has been added to the GitHub repo for push access.

The private key is encrypted using `travis encrypt-file` and then committed to this repo.

The decrypt commands are in `.travis.yml`. We only decrypt these files on the master
branch because people who have forked the repo don't have access to the
`$encrypted` environment variables.

## Trigger script

In `/trigger.sh` we use `$TRAVIS_TOKEN` to trigger downstream jobs - this
is the only way we can find that Travis can trigger another job.

In this case, the downstream jobs publish the frontend toolkit to npm
and RubyGems.

The [Travis settings](https://travis-ci.org/alphagov/govuk_frontend_toolkit/settings)
contains a Travis token that belongs to
[@alexmuller](https://github.com/alexmuller) - as far as we
can tell there's no way to generate one of these that isn't related to
a specific user. This token could be replaced with a generic bot account
if we created one.

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
govuk_frontend_toolkit-7.0.0 app/assets/.travis/README.md
govuk_frontend_toolkit-6.0.4 app/assets/.travis/README.md
govuk_frontend_toolkit-6.0.3 app/assets/.travis/README.md
govuk_frontend_toolkit-6.0.2 app/assets/.travis/README.md
govuk_frontend_toolkit-6.0.1 app/assets/.travis/README.md
govuk_frontend_toolkit-6.0.0 app/assets/.travis/README.md
govuk_frontend_toolkit-5.2.0 app/assets/.travis/README.md
govuk_frontend_toolkit-5.1.3 app/assets/.travis/README.md