Skip to content

Commit 1f0893d

Browse files
committed
Use GH_TOKEN to publish release
1 parent a8f3366 commit 1f0893d

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: Create GitHub release
3131
uses: softprops/action-gh-release@v1
3232
with:
33+
token: ${{ secrets.GH_TOKEN }}
3334
fail_on_unmatched_files: true
3435
prerelease: ${{ contains(github.ref_name, '-') }}
3536
files: tex/*.pdf

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ which will create a GitHub Release with the generated PDFs.
153153
- Directly from [GitHub Releases].
154154
- Using Git with
155155
```
156-
$ git tag 1.2.3 -m v1.2.3
156+
$ git tag --sign 1.2.3 -m v1.2.3
157157
$ git push --tags
158158
```
159159
- Using Bower with
@@ -163,6 +163,14 @@ which will create a GitHub Release with the generated PDFs.
163163

164164
[GitHub Releases]: https://github.com/makenew/latex-project/releases/new
165165

166+
## GitHub Actions
167+
168+
_GitHub Actions should already be configured: this section is for reference only._
169+
170+
The following repository secrets must be set on [GitHub Actions]:
171+
172+
- `GH_TOKEN`: A personal access token for the user.
173+
166174
## Source Code
167175

168176
The [makenew-latex-project source] is hosted on GitHub.

0 commit comments

Comments
 (0)