mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-04 11:03:59 +00:00
Add authentication for gh
command
This commit is contained in:
parent
adfd4af872
commit
94ceb3cffd
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,9 @@ on:
|
|||
types:
|
||||
- published
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
upload-robots-txt-file-to-release:
|
||||
name: "Upload robots.txt file to release"
|
||||
|
@ -19,5 +22,6 @@ jobs:
|
|||
- name: "Upload"
|
||||
run: gh --repo "${REPO}" release upload "${TAG}" robots.txt
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
REPO: ${{ github.repository }}
|
||||
TAG: ${{ github.event.release.tag_name }}
|
||||
|
|
Loading…
Reference in a new issue