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
powderluv 2022-09-29 12:49:41 -07:00 committed by GitHub
parent 95ffa27733
commit da584fbb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

View File

@ -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 }}"

View File

@ -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