Skip to content

Commit

Permalink
ci: Change publish to trigger only after build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ketozhang committed Aug 4, 2024
1 parent a067db3 commit 1f0fee5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1f0fee5

Please sign in to comment.