File tree Expand file tree Collapse file tree 3 files changed +20
-32
lines changed Expand file tree Collapse file tree 3 files changed +20
-32
lines changed Original file line number Diff line number Diff line change 94
94
github_token : ${{ secrets.GITHUB_TOKEN }}
95
95
publish_branch : gh-pages
96
96
publish_dir : ./build
97
+
98
+ release :
99
+ needs : deploy
100
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
101
+ runs-on : ubuntu-latest
102
+ steps :
103
+ - name : Checkout code
104
+ uses : actions/checkout@v3
105
+ with :
106
+ fetch-depth : 0
107
+
108
+ - name : Bump version
109
+ id : version
110
+
111
+
112
+ - name : Create GitHub tag and release
113
+
114
+ with :
115
+ tag_name : ${{ steps.version.outputs.version_tag }}
116
+ generate_release_notes : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# react-template
2
2
3
3
[ ![ build] ( https://github.com/will-molloy/react-template/workflows/build/badge.svg?event=push )] ( https://github.com/will-molloy/react-template/actions?query=workflow%3Abuild )
4
- [ ![ release] ( https://github.com/will-molloy/react-template/workflows/release/badge.svg?event=push )] ( https://github.com/will-molloy/react-template/actions?query=workflow%3Arelease )
5
4
[ ![ codecov] ( https://codecov.io/gh/will-molloy/react-template/branch/main/graph/badge.svg )] ( https://codecov.io/gh/will-molloy/react-template )
6
5
7
6
template repository for React projects
You can’t perform that action at this time.
0 commit comments