File tree 3 files changed +13
-6
lines changed
3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 6
6
pull_request :
7
7
branches :
8
8
- ' [4-9]+.[0-9]+.x'
9
+ env :
10
+ GIT_USER_NAME : ${{ secrets.GIT_USER_NAME }}
11
+ GIT_USER_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
12
+
9
13
jobs :
10
14
test_project :
11
15
name : " Test Project"
65
69
uses : micronaut-projects/github-pages-deploy-action@grails
66
70
env :
67
71
BRANCH : gh-pages
68
- COMMIT_EMAIL : ${{ vars .GIT_USER_EMAIL }}
69
- COMMIT_NAME : ${{ vars .GIT_USER_NAME }}
72
+ COMMIT_EMAIL : ${{ env .GIT_USER_EMAIL }}
73
+ COMMIT_NAME : ${{ env .GIT_USER_NAME }}
70
74
FOLDER : build/docs/manual
71
75
GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 1
1
name : " Release Drafter"
2
2
on :
3
3
issues :
4
- types : [closed,reopened]
4
+ types : [closed, reopened]
5
5
push :
6
6
branches :
7
+ - master
7
8
- ' [4-9]+.[0-9]+.x'
8
9
pull_request :
9
10
types : [opened, reopened, synchronize]
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: "Release"
2
2
on :
3
3
release :
4
4
types : [published]
5
+ env :
6
+ GIT_USER_NAME : ${{ secrets.GIT_USER_NAME }}
7
+ GIT_USER_EMAIL : ${{ secrets.GIT_USER_EMAIL }}
5
8
jobs :
6
9
release :
7
10
runs-on : ubuntu-latest
26
29
env :
27
30
SECRING_FILE : ${{ secrets.SECRING_FILE }}
28
31
run : echo $SECRING_FILE | base64 -d > ${{ github.workspace }}/secring.gpg
29
-
30
32
- name : " 📤 Publish artifacts to Sonatype"
31
33
id : publish_to_sonatype
32
34
env :
48
50
uses : micronaut-projects/github-pages-deploy-action@grails
49
51
env :
50
52
BRANCH : gh-pages
51
- COMMIT_EMAIL : ${{ vars .GIT_USER_EMAIL }}
52
- COMMIT_NAME : ${{ vars .GIT_USER_NAME }}
53
+ COMMIT_EMAIL : ${{ env .GIT_USER_EMAIL }}
54
+ COMMIT_NAME : ${{ env .GIT_USER_NAME }}
53
55
FOLDER : build/docs/manual
54
56
GH_TOKEN : ${{ secrets.GH_TOKEN }}
55
57
VERSION : ${{ steps.release_version.outputs.release_version }}
You can’t perform that action at this time.
0 commit comments