Skip to content

Commit 4b72cf5

Browse files
authored
Update galaxy.yml
1 parent 4b9aff3 commit 4b72cf5

1 file changed

Lines changed: 1 addition & 34 deletions

File tree

.github/workflows/galaxy.yml

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,4 @@ on:
88

99
jobs:
1010
deploy:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v3
14-
15-
# deploy the collection first, because if it fails, we don't want
16-
# to update the galaxy.yml
17-
- name: Deploy the collection
18-
uses: artis3n/ansible_galaxy_collection@v2
19-
with:
20-
api_key: ${{ secrets.GALAXY_API_KEY }}
21-
galaxy_version: ${{ github.event.release.tag_name }}
22-
23-
# checkout master instead of the release-tag so we can push the galaxy.yml
24-
- uses: actions/checkout@v3
25-
with:
26-
ref: master
27-
28-
- name: update galaxy.yml with new version
29-
uses: microsoft/variable-substitution@v1
30-
with:
31-
files: 'galaxy.yml'
32-
env:
33-
version: "${{ github.event.release.tag_name }}"
34-
35-
- name: push galaxy.yml
36-
uses: github-actions-x/commit@v2.9
37-
with:
38-
github-token: ${{ secrets.GITHUB_TOKEN }}
39-
push-branch: 'master'
40-
commit-message: 'update galaxy.yml with new version'
41-
force-add: 'true'
42-
files: galaxy.yml
43-
name: T-Systems MMS
44-
email: frage@t-systems-mms.com
11+
uses: T-Systems-MMS/.github/.github/workflows/ansible-galaxy-publish.yml@main

0 commit comments

Comments
 (0)