root / .github / workflows / release.yml @ bd5145ab
Historique | Voir | Annoter | Télécharger (755 octets)
1 |
name: Release |
---|---|
2 |
|
3 |
on:
|
4 |
push:
|
5 |
tags:
|
6 |
- '*'
|
7 |
|
8 |
env:
|
9 |
BUNDLE_WITHOUT: development:test:system_tests |
10 |
|
11 |
jobs:
|
12 |
deploy:
|
13 |
name: 'deploy to forge' |
14 |
runs-on: ubuntu-latest |
15 |
steps:
|
16 |
- name: Checkout repository
|
17 |
uses: actions/checkout@v2 |
18 |
- name: Setup Ruby
|
19 |
uses: ruby/setup-ruby@v1 |
20 |
with:
|
21 |
ruby-version: '2.7' |
22 |
bundler-cache: true |
23 |
- name: Build and Deploy
|
24 |
env:
|
25 |
# Configure secrets here:
|
26 |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets
|
27 |
BLACKSMITH_FORGE_USERNAME: '${{ secrets.PUPPET_FORGE_USERNAME }}' |
28 |
BLACKSMITH_FORGE_API_KEY: '${{ secrets.PUPPET_FORGE_API_KEY }}' |
29 |
run: bundle exec rake module:push |