From e4813ebf7a4d4e60a5c4f2585cbe9d9623f9e5bf Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 21 Aug 2024 20:51:18 +0200 Subject: [PATCH] add release workflow --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..b0b86f7 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +--- +name: "Release" + +on: + pull_request: + branches: + - "master" + # push: + # tags: + # - '*' + +jobs: + + release: + name: "Release" + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@v4" + + - name: "Publish to Ansible Galaxy" + run: | + ansible-galaxy collection publish --token ${{ secrets.GALAXY_API_KEY }} . \ No newline at end of file