refactor: publish.yml dispatches deploy-website instead of workflow_run

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-27 00:01:00 +00:00
parent 17c76fede5
commit 8161d1415d
2 changed files with 7 additions and 10 deletions

View File

@@ -4,15 +4,7 @@
name: Deploy Website to GitHub Pages
on:
# Runs after the Publish to main workflow completes successfully.
# Note: pushes made by GITHUB_TOKEN do not trigger push-based workflows,
# so workflow_run is required to chain off the publish workflow.
workflow_run:
workflows: ["Publish to main"]
types:
- completed
# Allows you to run this workflow manually from the Actions tab
# Triggered manually from the Actions tab, or dispatched by the Publish to main workflow.
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -30,7 +22,6 @@ concurrency:
jobs:
# Build job
build:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Checkout