Skip to content

Commit 525f774

Browse files
committed
change: GitHub Actions trigger from push to release
1 parent fca376f commit 525f774

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/main.workflow

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflow "Main workflow" {
2-
on = "push"
2+
on = "release"
33
resolves = ["Build and deploy with MkDocs"]
44
}
55

docs/hosting-and-deployment/github-pages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
└── entrypoint.sh
2525
```
2626

27-
### (3) Push commit
27+
### (3) Update releases
2828

29-
When you push commits, GitHub Actions runs.
29+
Triggered when a release is `published`, `unpublished`, `created`, `edited`, `deleted`, or `prereleased`.
3030

3131

3232

0 commit comments

Comments
 (0)