We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f1f20 commit fc8b715Copy full SHA for fc8b715
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+---
2
+name: Release
3
+
4
+'on':
5
+ push:
6
+ tags:
7
+ - '*'
8
9
+defaults:
10
+ run:
11
+ working-directory: kliwniloc.borgbackup
12
+jobs:
13
14
+ release:
15
+ name: Release
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Check out the codebase.
19
+ uses: actions/checkout@v2
20
+ with:
21
+ path: kliwniloc.borgbackup
22
23
+ - name: Set up Python 3.
24
+ uses: actions/setup-python@v2
25
26
+ python-version: 3.x
27
28
+ - name: Install Ansible.
29
+ run: pip3 install ansible-core
30
31
+ - name: Trigger a new import on Galaxy.
32
+ run: >-
33
+ ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }}
34
+ $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
0 commit comments