Add renovate.json #44
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
--- | |
name: Deploy Collection | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run read-yaml action | |
id: yaml-data | |
uses: jbutcher5/[email protected] | |
with: | |
file: "./galaxy.yml" | |
key-path: '["version"]' | |
- name: Bump release version | |
id: bump_version | |
uses: christian-draeger/[email protected] | |
with: | |
current-version: "${{ steps.yaml-data.outputs.data }}" | |
version-fragment: "bug" | |
- name: Update values.yaml | |
uses: fjogeleit/yaml-update-action@main | |
with: | |
valueFile: "galaxy.yml" | |
propertyPath: "version" | |
value: "${{ steps.bump_version.outputs.next-version }}" | |
commitChange: true | |
message: "update galaxy.yml version" | |
branch: main | |
createPR: false | |
masterBranchName: main | |
- name: Build and Deploy Collection | |
uses: artis3n/ansible_galaxy_collection@v2 | |
with: | |
api_key: "${{ secrets.GALAXY_API_KEY }}" | |
galaxy_version: "${{ steps.bump_version.outputs.next-version }}" | |
publish: true | |
build: true | |
- name: Read file contents | |
id: read_file | |
uses: andstor/file-reader-action@v1 | |
with: | |
path: "galaxy.yml" |