Commit a Parameter change in a separate gitops repository.
Restyled uses GitOps for managing the entirety of its infrastructure. This means the state of all running services is captured in a git repository. Therefore, deploying a new version of an application means committing a change of parameter to that repository (which is then auto-deployed). This Action allows individual applications to easily perform that update as part of their CI/CD flow.
- uses: restyled-io/gitops-deploy-action@main
with:
token: ${{ secrets.GITOPS_REPOSITORY_TOKEN }}
parameter-name: SomeParameter
parameter-value: SomeValue
committer-name: Some Name
committer-email: [email protected]
repository: your/gitops-repo
stacks: |
stacks/*/*/this.yaml
stacks/*/*/that.yaml
token
: access token with commit writes to the gitops repositoryparameter-name
: name of Parameter to updateparameter-value
: value to set the Parameter tocommitter-name
: name to use for commitcommitter-email
: email to use for commitrepository
: full name of your gitops repositorystacks
: paths or globs, separated by newline, of stack definitions to update the Parameter inpush
: set to0
to not actually push the commit, default is1
None.