Skip to content
This repository was archived by the owner on May 17, 2022. It is now read-only.

Commit 912f2f6

Browse files
committed
ci: enable release
1 parent bfc0dae commit 912f2f6

File tree

1 file changed

+12
-24
lines changed

1 file changed

+12
-24
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
---
22
name: Release
33

4-
# This release workflow requires the following environment variables:
5-
# - galaxy_api_key (API key for Ansible Galaxy)
6-
7-
# disable GH action for template
8-
# remove and uncommment below "on" block when using in production
94
on:
105
push:
11-
branches-ignore:
12-
- '**'
13-
14-
#on:
15-
# push:
16-
# branches:
17-
# - master
18-
# pull_request:
19-
# branches:
20-
# - master
6+
branches:
7+
- master
8+
pull_request:
9+
branches:
10+
- master
2111

2212
jobs:
23-
# we recommend running a smoke test on template generation
24-
# please uncomment below test step and "needs" property in release step when you do
25-
#test:
26-
# name: Smoketest test-tf-generation
27-
# runs-on: ubuntu-latest
28-
# steps:
29-
# - uses: actions/checkout@v2
30-
# - run: ansible-playbook ./__tests__/test-tf-generation.yml
13+
test:
14+
name: Smoketest test-tf-generation
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- run: ansible-playbook ./__tests__/test-tf-generation.yml
3119
release:
32-
# needs: test
20+
needs: test
3321
runs-on: ubuntu-latest
3422
env:
3523
GIT_AUTHOR_EMAIL: [email protected]

0 commit comments

Comments
 (0)