mirror of
https://github.com/Infisical/ansible-collection.git
synced 2025-08-06 14:14:28 -07:00
add read_secret lookup function
This commit is contained in:
parent
1eedeb42ee
commit
e226a6b1f7
6 changed files with 162 additions and 30 deletions
21
.github/workflows/distribute.yaml
vendored
Normal file
21
.github/workflows/distribute.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
name: Deploy Collection
|
||||
|
||||
# Trigger the workflow however you prefer
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Get the version name from the tags
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
|
||||
- name: Build and Deploy Collection
|
||||
uses: artis3n/ansible_galaxy_collection@v2
|
||||
with:
|
||||
api_key: "${{ secrets.GALAXY_API_KEY }}"
|
||||
galaxy_version: "${{ env.RELEASE_VERSION }}"
|
Loading…
Add table
Add a link
Reference in a new issue