mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-22 15:41:47 +00:00
improve the introduction
It did not say effectively what you should get out of reading this document in the first paragraph. Signed-off-by: Kingdon Barrett <kingdon@weave.works>
This commit is contained in:
parent
85b3eeb87b
commit
a6e25ed99b
1 changed files with 4 additions and 2 deletions
|
|
@ -1,8 +1,10 @@
|
|||
# GitHub Actions Auto PR
|
||||
|
||||
In the [Image Update Guide] we saw we can [Push updates to a different branch] by using `.spec.git.push.branch` to push image updates to a different branch than the one used for checkout.
|
||||
This guide shows how to configure GitHub Actions to open a pull request whenever a selected branch is pushed.
|
||||
|
||||
In this example, we configure an `ImageUpdateAutomation` resource to push to a `staging` branch, (which we could set up separately as a preview environment to deploy automatic updates in a staging cluster or namespace.)
|
||||
In the [Image Update Guide] we saw that Flux's automation can [Push updates to a different branch] by using `.spec.git.push.branch` to push automated image updates to a different branch than the one used for checkout.
|
||||
|
||||
In this example, we configure an `ImageUpdateAutomation` resource to push to a `staging` branch, where we can imagine some policy dictates that updates must be staged and approved before they are deployed in production.
|
||||
|
||||
```yaml
|
||||
kind: ImageUpdateAutomation
|
||||
|
|
|
|||
Loading…
Reference in a new issue