Merge pull request #451 from voxpupuli/rel910 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Managed by modulesync - DO NOT EDIT | |
# https://voxpupuli.org/docs/updating-files-managed-with-modulesync/ | |
name: Release | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
BUNDLE_WITHOUT: development:test:system_tests | |
jobs: | |
deploy: | |
name: 'deploy to forge' | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'voxpupuli' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
bundler-cache: true | |
- name: Build and Deploy | |
env: | |
# Configure secrets here: | |
# https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets | |
BLACKSMITH_FORGE_USERNAME: '${{ secrets.PUPPET_FORGE_USERNAME }}' | |
BLACKSMITH_FORGE_API_KEY: '${{ secrets.PUPPET_FORGE_API_KEY }}' | |
run: bundle exec rake module:push |