mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
Preview Commit to PR fix
This commit is contained in:
parent
d4eacaeab3
commit
6eba207f27
16
.github/workflows/preview.yml
vendored
16
.github/workflows/preview.yml
vendored
|
@ -46,10 +46,16 @@ jobs:
|
||||||
- name: Move preview
|
- name: Move preview
|
||||||
run: mv preview.gif docs/assets/preview.gif
|
run: mv preview.gif docs/assets/preview.gif
|
||||||
|
|
||||||
- name: Upload preview
|
- name: Create Pull Request
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
commit_message: Preview for ${{ env.run_id }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file_pattern: "docs/assets/preview.gif"
|
commit-message: Preview for ${{ env.run_id }}
|
||||||
add_options: "--force"
|
title: 'Update preview GIF'
|
||||||
|
body: 'Automatically generated preview GIF from workflow run ${{ env.run_id }}'
|
||||||
|
branch: update-preview-gif
|
||||||
|
base: main
|
||||||
|
delete-branch: true
|
||||||
|
add-paths: |
|
||||||
|
docs/assets/preview.gif
|
||||||
if: success()
|
if: success()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user