mirror of https://github.com/llvm/torch-mlir
Update releases pages after release builds (#1432)
* Update buildRelease.yml Update Releases right after a Release build. * Move gh-page update after release builds This removes the periodic update and updates after a release build.pull/1442/head
parent
95ffa27733
commit
da584fbb73
|
@ -93,3 +93,10 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
|
||||||
with:
|
with:
|
||||||
release_id: ${{ github.event.inputs.release_id }}
|
release_id: ${{ github.event.inputs.release_id }}
|
||||||
|
|
||||||
|
- name: Invoke Publish Releases Page
|
||||||
|
uses: benc-uk/workflow-dispatch@v1
|
||||||
|
with:
|
||||||
|
workflow: Publish releases page
|
||||||
|
token: ${{ secrets.WORKFLOW_INVOCATION_TOKEN }}
|
||||||
|
ref: "${{ env.tag_name }}"
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
name: Publish releases page
|
name: Publish releases page
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
|
||||||
- cron: '0 * * * *'
|
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -37,4 +34,4 @@ jobs:
|
||||||
uses: ad-m/github-push-action@v0.6.0
|
uses: ad-m/github-push-action@v0.6.0
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: github-pages
|
branch: github-pages
|
||||||
|
|
Loading…
Reference in New Issue