From 1f0fee51d4bbdeaf6ffdeb19bb846bfb46c6d094 Mon Sep 17 00:00:00 2001 From: "Keto D. Zhang" Date: Sun, 4 Aug 2024 14:24:35 -0700 Subject: [PATCH] ci: Change publish to trigger only after build workflow --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6d52f40..fb19072 100755 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,10 +2,10 @@ name: Deploy pages on: - # Runs on pushes targeting the default branch - push: - branches: - - main + workflow_run: + workflows: ["Build pages"] + types: + - completed # Allows you to run this workflow manually from the Actions tab workflow_dispatch: