File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
- name : RELEASE
1
+ name : PROD RELEASE
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - master
5
+ tags :
6
+ - ' *RELEASE '
7
7
jobs :
8
- release-on-push :
8
+ Production-Release :
9
9
runs-on : ubuntu-latest
10
10
env :
11
11
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
12
12
steps :
13
- - uses : actions/checkout@v3
14
- - name :
15
- run : |
16
- cd initial
17
- export VERSION=`bash ./gradlew -Pbuild_target=SNAPSHOT -q properties | grep version | sed -e "s@version: @@g"`
18
- - uses : rymndhng/release-on-push-action@master
13
+ - name : Checkout code
14
+ uses : actions/checkout@v3
15
+ - name : Create Release
16
+ uses : actions/create-release@v1
19
17
with :
20
- tag_prefix : " v "
21
- release_name : ${VERSION}-RELEASE
18
+ tag_name : ${{ github.ref }}
19
+ release_name : Release ${{ github.ref }}
22
20
21
+ Deploy-To-Prod :
22
+ runs-on : ubuntu-latest
23
+ needs : Production-Release
24
+ environment : prod
You can’t perform that action at this time.
0 commit comments