mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2025-04-12 05:57:45 +00:00
Create upload-robots-txt-file-to-release.yml
This commit is contained in:
parent
d50615d394
commit
adfd4af872
1 changed files with 23 additions and 0 deletions
23
.github/workflows/upload-robots-txt-file-to-release.yml
vendored
Normal file
23
.github/workflows/upload-robots-txt-file-to-release.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
name: "Upload robots.txt file to release"
|
||||||
|
run-name: "Upload robots.txt file to release"
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- published
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
upload-robots-txt-file-to-release:
|
||||||
|
name: "Upload robots.txt file to release"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: "Upload"
|
||||||
|
run: gh --repo "${REPO}" release upload "${TAG}" robots.txt
|
||||||
|
env:
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
TAG: ${{ github.event.release.tag_name }}
|
Loading…
Reference in a new issue