Skip to content

Commit

Permalink
Update flux-v1-automation-migration.md to replace deprecated/removed …
Browse files Browse the repository at this point in the history
…--branch with --{checkout,push}-branch

Does what it says on the tin.

Signed-off-by: Tony DevOps <[email protected]>
  • Loading branch information
TonyLovesDevOps authored Sep 27, 2024
1 parent 021f13a commit c4ee2ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/en/flux/migration/flux-v1-automation-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@ $ # the environment variables $AUTO_PATH and $GIT_NAME are set above
$ [email protected] # supply your own host or address here
$ flux create image update my-app-auto \
--author-name FluxBot --author-email "$FLUXBOT_EMAIL" \
--git-repo-ref $GIT_NAME --branch main \
--git-repo-ref $GIT_NAME \
--checkout-branch main \
--push-branch main \
--interval 30m \
--export > ./$AUTO_PATH/my-app-auto.yaml
$ cat my-app-auto.yaml
Expand Down

0 comments on commit c4ee2ea

Please sign in to comment.