Révision 0893064d
modulesync 5.2.0
.github/workflows/release.yml | ||
---|---|---|
9 | 9 |
tags: |
10 | 10 |
- '*' |
11 | 11 |
|
12 |
env: |
|
13 |
BUNDLE_WITHOUT: development:test:system_tests |
|
14 |
|
|
15 | 12 |
jobs: |
16 |
deploy: |
|
17 |
name: 'deploy to forge' |
|
18 |
runs-on: ubuntu-latest |
|
19 |
if: github.repository_owner == 'voxpupuli' |
|
20 |
steps: |
|
21 |
- name: Checkout repository |
|
22 |
uses: actions/checkout@v2 |
|
23 |
- name: Setup Ruby |
|
24 |
uses: ruby/setup-ruby@v1 |
|
25 |
with: |
|
26 |
ruby-version: '2.7' |
|
27 |
bundler-cache: true |
|
28 |
- name: Build and Deploy |
|
29 |
env: |
|
30 |
# Configure secrets here: |
|
31 |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets |
|
32 |
BLACKSMITH_FORGE_USERNAME: '${{ secrets.PUPPET_FORGE_USERNAME }}' |
|
33 |
BLACKSMITH_FORGE_API_KEY: '${{ secrets.PUPPET_FORGE_API_KEY }}' |
|
34 |
run: bundle exec rake module:push |
|
13 |
release: |
|
14 |
name: Release |
|
15 |
uses: voxpupuli/gha-puppet/.github/workflows/release.yml@v1 |
|
16 |
with: |
|
17 |
allowed_owner: 'voxpupuli' |
|
18 |
secrets: |
|
19 |
# Configure secrets here: |
|
20 |
# https://docs.github.com/en/actions/security-guides/encrypted-secrets |
|
21 |
username: ${{ secrets.PUPPET_FORGE_USERNAME }} |
|
22 |
api_key: ${{ secrets.PUPPET_FORGE_API_KEY }} |
Formats disponibles : Unified diff