mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
refact: use tags instead of runner id (#900)
Co-authored-by: Chris Titus <contact@christitus.com>
This commit is contained in:
parent
904ea6ee53
commit
808ef913e5
14
.github/workflows/preview.yml
vendored
14
.github/workflows/preview.yml
vendored
|
@ -16,7 +16,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
|
@ -66,12 +65,7 @@ jobs:
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
uses: peter-evans/create-pull-request@v7.0.5
|
uses: peter-evans/create-pull-request@v7.0.5
|
||||||
with:
|
with:
|
||||||
title: "release: Preview for ${{ env.tag_name }}"
|
commit_message: Preview for ${{ env.tag_name }}
|
||||||
commit-message: "release: Preview for ${{ env.tag_name }}"
|
file_pattern: "docs/assets/preview.gif"
|
||||||
branch: "preview-${{ env.tag_name }}"
|
add_options: "--force"
|
||||||
delete-branch: true
|
if: success()
|
||||||
labels: "documentation"
|
|
||||||
body: |
|
|
||||||
## Preview for ${{ env.tag_name }}
|
|
||||||
- Tag: [${{ env.tag_name }}](https://github.com/${{ github.repository }}/tree/${{ env.tag_name }})
|
|
||||||
- Preview: ![Preview](https://raw.githubusercontent.com/${{ github.repository }}/preview-${{ env.tag_name }}/docs/assets/preview.gif)
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user